From b497e4c0564e68695282fe14365839d25f8e3cfd Mon Sep 17 00:00:00 2001 From: Jose Date: Wed, 2 Oct 2019 14:51:15 -0400 Subject: [PATCH] Start all jails once --- bastille-init | 12 +++++++----- release_notes | 1 + version | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/bastille-init b/bastille-init index fc77f55..d4827dc 100755 --- a/bastille-init +++ b/bastille-init @@ -547,11 +547,13 @@ get_versions() ext_start() { # Start bastille jails. - if [ -d "${CWDIR}/jails" ]; then - if [ "$(ls -A ${CWDIR}/jails)" ]; then - JAIL_AUTO_START=$(sysrc -qn bastille_enable) - if [ "${JAIL_AUTO_START}" = "YES" ]; then - service bastille start + if [ "${PRDPLATFORM}" = "x64-embedded" ]; then + if [ -d "${CWDIR}/jails" ]; then + if [ "$(ls -A ${CWDIR}/jails)" ]; then + JAIL_AUTO_START=$(sysrc -qn bastille_enable) + if [ "${JAIL_AUTO_START}" = "YES" ]; then + service bastille start + fi fi fi fi diff --git a/release_notes b/release_notes index 5b9fa48..59ccf43 100644 --- a/release_notes +++ b/release_notes @@ -3,6 +3,7 @@ ====================== Version Description +0.0.5......Start all jails once. 0.0.4......Start jails if directory not empty. 0.0.3......Minor code adjustment. 0.0.2......Added addon preview page. diff --git a/version b/version index 81340c7..bbdeab6 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.0.4 +0.0.5