Fix for jail auto-start with names containing dashes
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user