From 6ebdb4e9d7a4bbd2d67191d9073abb4b9bc67b6d Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Fri, 2 May 2025 08:37:51 -0600 Subject: [PATCH] create: Add depend value --- usr/local/share/bastille/create.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr/local/share/bastille/create.sh b/usr/local/share/bastille/create.sh index f43c5afb..cf2500a8 100644 --- a/usr/local/share/bastille/create.sh +++ b/usr/local/share/bastille/create.sh @@ -576,8 +576,9 @@ create_jail() { # Set strict permissions on the jail by default chmod 0700 "${bastille_jailsdir}/${NAME}" - # Apply priority and boot settings before starting jail + # Apply boot, depends and priority settings before starting jail sysrc -f "${bastille_jailsdir}/${NAME}/boot.conf" boot=${BOOT} >/dev/null + sysrc -f "${bastille_jailsdir}/${NAME}/settings.conf" depend="" >/dev/null sysrc -f "${bastille_jailsdir}/${NAME}/boot.conf" priority="${PRIORITY}" >/dev/null # Jail must be started before applying the default template. -- cwells @@ -1041,4 +1042,4 @@ fi create_jail "${NAME}" "${RELEASE}" "${IP}" "${INTERFACE}" -echo \ No newline at end of file +echo