diff options
Diffstat (limited to 'ezjail.sh')
-rwxr-xr-x | ezjail.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -77,6 +77,12 @@ do_cmd() | |||
77 | eval ezjail_zfs_datasets=\"\$jail_${ezjail}_zfs_datasets\" | 77 | eval ezjail_zfs_datasets=\"\$jail_${ezjail}_zfs_datasets\" |
78 | eval ezjail_cpuset=\"\$jail_${ezjail}_cpuset\" | 78 | eval ezjail_cpuset=\"\$jail_${ezjail}_cpuset\" |
79 | 79 | ||
80 | # Fix backward compatibility issue | ||
81 | eval ezjail_exec_start=\"\$jail_${ezjail}_exec_start\" | ||
82 | eval ezjail_exec=\"\$jail_${ezjail}_exec\" | ||
83 | eval jail_${ezjail}_exec_start=${ezjail_exec_start:-${ezjail_exec}} | ||
84 | eval unset jail_${ezjail}_exec | ||
85 | |||
80 | # Do we still have a root to run in? | 86 | # Do we still have a root to run in? |
81 | [ ! -d "${ezjail_rootdir}" ] && echo " Warning: root directory ${ezjail_rootdir} of ${ezjail} does not exist." && continue | 87 | [ ! -d "${ezjail_rootdir}" ] && echo " Warning: root directory ${ezjail_rootdir} of ${ezjail} does not exist." && continue |
82 | 88 | ||