Start all jails once

This commit is contained in:
Jose
2019-10-02 14:51:15 -04:00
parent 8f5502e313
commit b497e4c056
3 changed files with 9 additions and 6 deletions
+7 -5
View File
@@ -547,11 +547,13 @@ get_versions()
ext_start() ext_start()
{ {
# Start bastille jails. # Start bastille jails.
if [ -d "${CWDIR}/jails" ]; then if [ "${PRDPLATFORM}" = "x64-embedded" ]; then
if [ "$(ls -A ${CWDIR}/jails)" ]; then if [ -d "${CWDIR}/jails" ]; then
JAIL_AUTO_START=$(sysrc -qn bastille_enable) if [ "$(ls -A ${CWDIR}/jails)" ]; then
if [ "${JAIL_AUTO_START}" = "YES" ]; then JAIL_AUTO_START=$(sysrc -qn bastille_enable)
service bastille start if [ "${JAIL_AUTO_START}" = "YES" ]; then
service bastille start
fi
fi fi
fi fi
fi fi
+1
View File
@@ -3,6 +3,7 @@
====================== ======================
Version Description Version Description
0.0.5......Start all jails once.
0.0.4......Start jails if directory not empty. 0.0.4......Start jails if directory not empty.
0.0.3......Minor code adjustment. 0.0.3......Minor code adjustment.
0.0.2......Added addon preview page. 0.0.2......Added addon preview page.
+1 -1
View File
@@ -1 +1 @@
0.0.4 0.0.5