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
+1
View File
@@ -3,6 +3,7 @@
====================== ======================
Version Description 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.69......Fix for jail auto-start settings with names containing dashes.
1.0.68......Remove the -q option in utilities page. 1.0.68......Remove the -q option in utilities page.
1.0.67......Fix for properly identify the jail type, thanks to mvdhoeven. 1.0.67......Fix for properly identify the jail type, thanks to mvdhoeven.
+1 -1
View File
@@ -953,7 +953,7 @@ ext_start()
if [ -d "${CWDIR}/jails" ]; then if [ -d "${CWDIR}/jails" ]; then
JAIL_LIST=$(bastille list jail) JAIL_LIST=$(bastille list jail)
for jail in ${JAIL_LIST}; do 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 if ! jls | sed "1 d" | awk '{print $3}' | grep -qw ${jail}; then
bastille start ${jail} bastille start ${jail}
fi fi
+1 -1
View File
@@ -1 +1 @@
1.0.69 1.0.70