mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-24 19:22:26 +01:00
create: Add depend value
This commit is contained in:
@@ -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
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user