Fix for jail auto-start with names containing dashes

This commit is contained in:
Jose
2020-08-27 08:13:19 -04:00
parent 9932b00a37
commit cfbf2a4fea
3 changed files with 3 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
======================
Version Description
1.0.70......Fix for jail auto-start with names containing dashes.
1.0.69......Fix for jail auto-start settings with names containing dashes.
1.0.68......Remove the -q option in utilities page.
1.0.67......Fix for properly identify the jail type, thanks to mvdhoeven.

View File

@@ -953,7 +953,7 @@ ext_start()
if [ -d "${CWDIR}/jails" ]; then
JAIL_LIST=$(bastille list jail)
for jail in ${JAIL_LIST}; do
if sysrc -f ${CWDIR}${EXTCONF} -qn ${jail}_AUTO_START | grep -w "YES" >/dev/null; then
if grep -qw "${jail}_AUTO_START=\"YES\"" ${CWDIR}${EXTCONF}; then
if ! jls | sed "1 d" | awk '{print $3}' | grep -qw ${jail}; then
bastille start ${jail}
fi

View File

@@ -1 +1 @@
1.0.69
1.0.70