Run the cpuset and zfs attach routine when doing start, startcrypto and restart.
Reported by Jesse Kempf.
This commit is contained in:
parent
1f0f731722
commit
253658a81d
@ -104,7 +104,7 @@ do_cmd()
|
|||||||
[ "${ezjail_pass}" ] && sh /etc/rc.d/jail one${action%crypto} ${ezjail_pass}
|
[ "${ezjail_pass}" ] && sh /etc/rc.d/jail one${action%crypto} ${ezjail_pass}
|
||||||
|
|
||||||
# Configure settings that need to be done after the jail has been started
|
# Configure settings that need to be done after the jail has been started
|
||||||
if [ "${action}" = "start" ]; then
|
if [ "${action%crypto}" = "start" -o "${action}" = "restart" ]; then
|
||||||
for ezjail in ${ezjail_list}; do
|
for ezjail in ${ezjail_list}; do
|
||||||
ezjail_safename=`echo -n "${ezjail}" | tr -c '[:alnum:]' _`
|
ezjail_safename=`echo -n "${ezjail}" | tr -c '[:alnum:]' _`
|
||||||
# Get the JID of the jail
|
# Get the JID of the jail
|
||||||
|
Loading…
x
Reference in New Issue
Block a user