From 1c70cfeca5ab9f67fd813aa45d39c511d8f5d4c9 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Wed, 14 May 2025 20:30:05 -0600 Subject: [PATCH] Update config.sh --- usr/local/share/bastille/config.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/local/share/bastille/config.sh b/usr/local/share/bastille/config.sh index adacb45d..6f88e9de 100644 --- a/usr/local/share/bastille/config.sh +++ b/usr/local/share/bastille/config.sh @@ -105,16 +105,16 @@ if [ "${ACTION}" = "add" ]; then ACTION="set" fi +PROPERTY="${1}" +shift +VALUE="$@" + case "${PROPERTY}" in boot|depend|depends|prio|priority) BASTILLE_PROPERTY=1 ;; esac -PROPERTY="${1}" -shift -VALUE="$@" - # we need jail(8) to parse the config file so it can expand variables etc print_jail_conf() {