From 246a663eee0677655eb09b9bd16e59a00e6f54ce Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 25 Mar 2006 10:46:21 +0000 Subject: Cryptojails can be stopped without passphrase, so only exclude them from jail list at start up --- ezjail.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ezjail.sh b/ezjail.sh index 6fb45ab..9bc34da 100755 --- a/ezjail.sh +++ b/ezjail.sh @@ -62,7 +62,7 @@ do_cmd() eval ezjail_crypt=\"\$jail_${ezjail}_cryptimage\" # Cannot auto mount crypto jails without interrupting boot process - [ "${ezjail_fromrc}" = "YES" -a "${ezjail_crypt}" = "YES" ] && continue + [ "${ezjail_fromrc}" = "YES" -a "${ezjail_crypt}" = "YES" -a "${action}" = "start" ] && continue # Try to attach (crypto) devices [ "${ezjail_image}" ] && attach_detach_pre -- cgit v1.2.3