Update config.sh

This commit is contained in:
tschettervictor
2025-05-14 20:25:54 -06:00
committed by GitHub
parent add1b6292f
commit 0129506655

View File

@@ -105,6 +105,12 @@ if [ "${ACTION}" = "add" ]; then
ACTION="set"
fi
case "${PROPERTY}" in
boot|depend|depends|prio|priority)
BASTILLE_PROPERTY=1
;;
esac
PROPERTY="${1}"
shift
VALUE="$@"
@@ -138,7 +144,6 @@ for _jail in ${JAILS}; do
if [ "${PROPERTY}" = "priority" ] || [ "${PROPERTY}" = "prio" ]; then
PROPERTY="priority"
BASTILLE_PROPERTY=1
FILE="${bastille_jailsdir}/${_jail}/settings.conf"
if [ "${ACTION}" = "set" ]; then
@@ -156,7 +161,6 @@ for _jail in ${JAILS}; do
# Boot property
elif [ "${PROPERTY}" = "boot" ]; then
BASTILLE_PROPERTY=1
FILE="${bastille_jailsdir}/${_jail}/settings.conf"
if [ "${ACTION}" = "set" ]; then
@@ -175,7 +179,6 @@ for _jail in ${JAILS}; do
elif [ "${PROPERTY}" = "depend" ] || [ "${PROPERTY}" = "depends" ]; then
PROPERTY="depend"
BASTILLE_PROPERTY=1
FILE="${bastille_jailsdir}/${_jail}/settings.conf"
if [ "${ACTION}" = "set" ]; then