summaryrefslogtreecommitdiff
path: root/ezjail.sh
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2006-03-25 10:46:21 +0000
committererdgeist <erdgeist@erdgeist.org>2006-03-25 10:46:21 +0000
commit246a663eee0677655eb09b9bd16e59a00e6f54ce (patch)
treed857b0e776a8d32a4a790e8e8a7d5b187c186519 /ezjail.sh
parent28ebd0e7012ee8ff1bc092af05cfe280405be70a (diff)
Cryptojails can be stopped without passphrase, so only exclude them from jail list at start up
Diffstat (limited to 'ezjail.sh')
-rwxr-xr-xezjail.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail.sh b/ezjail.sh
index 6fb45ab..9bc34da 100755
--- a/ezjail.sh
+++ b/ezjail.sh
@@ -62,7 +62,7 @@ do_cmd()
62 eval ezjail_crypt=\"\$jail_${ezjail}_cryptimage\" 62 eval ezjail_crypt=\"\$jail_${ezjail}_cryptimage\"
63 63
64 # Cannot auto mount crypto jails without interrupting boot process 64 # Cannot auto mount crypto jails without interrupting boot process
65 [ "${ezjail_fromrc}" = "YES" -a "${ezjail_crypt}" = "YES" ] && continue 65 [ "${ezjail_fromrc}" = "YES" -a "${ezjail_crypt}" = "YES" -a "${action}" = "start" ] && continue
66 66
67 # Try to attach (crypto) devices 67 # Try to attach (crypto) devices
68 [ "${ezjail_image}" ] && attach_detach_pre 68 [ "${ezjail_image}" ] && attach_detach_pre