diff options
| -rwxr-xr-x | ezjail.sh | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -105,7 +105,7 @@ do_cmd() | |||
| 105 | 105 | ||
| 106 | # Configure settings that need to be done after the jail has been started | 106 | # Configure settings that need to be done after the jail has been started | 
| 107 | if [ "${action%crypto}" = "start" -o "${action}" = "restart" ]; then | 107 | if [ "${action%crypto}" = "start" -o "${action}" = "restart" ]; then | 
| 108 | for ezjail in ${ezjail_list}; do | 108 | for ezjail in ${ezjail_pass}; do | 
| 109 | ezjail_safename=`echo -n "${ezjail}" | tr -c '[:alnum:]' _` | 109 | ezjail_safename=`echo -n "${ezjail}" | tr -c '[:alnum:]' _` | 
| 110 | # Get the JID of the jail | 110 | # Get the JID of the jail | 
| 111 | [ -f "/var/run/jail_${ezjail_safename}.id" ] && ezjail_id=`cat /var/run/jail_${ezjail_safename}.id` || return | 111 | [ -f "/var/run/jail_${ezjail_safename}.id" ] && ezjail_id=`cat /var/run/jail_${ezjail_safename}.id` || return | 
