From 01295066553badc9f966a183bd5d1af63c651d72 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Wed, 14 May 2025 20:25:54 -0600 Subject: [PATCH] Update config.sh --- usr/local/share/bastille/config.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/usr/local/share/bastille/config.sh b/usr/local/share/bastille/config.sh index 54e72647..adacb45d 100644 --- a/usr/local/share/bastille/config.sh +++ b/usr/local/share/bastille/config.sh @@ -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