Cryptojails can be stopped without passphrase, so only exclude them from jail list at start up
This commit is contained in:
parent
28ebd0e701
commit
246a663eee
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user