Cryptojails can be stopped without passphrase, so only exclude them from jail list at start up

This commit is contained in:
erdgeist 2006-03-25 10:46:21 +00:00
parent 28ebd0e701
commit 246a663eee

View File

@ -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