diff options
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-x | ezjail-admin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ezjail-admin b/ezjail-admin index 655e939..dc581ee 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -653,9 +653,9 @@ config) | |||
653 | [ -e ${ezjail_new_config} -o -e ${ezjail_new_config}.norun ] && exerr "Error: an ezjail config already exists at ${ezjail_new_config}. Please rename the ezjail." | 653 | [ -e ${ezjail_new_config} -o -e ${ezjail_new_config}.norun ] && exerr "Error: an ezjail config already exists at ${ezjail_new_config}. Please rename the ezjail." |
654 | 654 | ||
655 | # need to rename the image? | 655 | # need to rename the image? |
656 | if [ -n "${ezjail_image}" ] | 656 | if [ -n "${ezjail_image}" ]; then |
657 | # Do we have an auto generated image name? | 657 | # Do we have an auto generated image name? |
658 | if [ "${ezjail_rootdir}.img" = "${ezjail_image}" ] | 658 | if [ "${ezjail_rootdir}.img" = "${ezjail_image}" ]; then |
659 | ezjail_newimage=${ezjail_newrootdir}.img} | 659 | ezjail_newimage=${ezjail_newrootdir}.img} |
660 | mv ${ezjail_image} ${ezjail_new_image} | 660 | mv ${ezjail_image} ${ezjail_new_image} |
661 | else | 661 | else |
@@ -692,7 +692,7 @@ config) | |||
692 | echo export jail_${ezjail_new_safename}_exec=\"${ezjail_new_exec}\" | 692 | echo export jail_${ezjail_new_safename}_exec=\"${ezjail_new_exec}\" |
693 | echo export jail_${ezjail_new_safename}_mount_enable=\"${ezjail_new_mount_enable}\" | 693 | echo export jail_${ezjail_new_safename}_mount_enable=\"${ezjail_new_mount_enable}\" |
694 | echo export jail_${ezjail_new_safename}_devfs_enable=\"${ezjail_new_devfs_enable}\" | 694 | echo export jail_${ezjail_new_safename}_devfs_enable=\"${ezjail_new_devfs_enable}\" |
695 | echo export jail_${ezjail_new_safename}_devfs_ruleset=\"${ezjail_new_devfs_ruleset\" | 695 | echo export jail_${ezjail_new_safename}_devfs_ruleset=\"${ezjail_new_devfs_ruleset}\" |
696 | echo export jail_${ezjail_new_safename}_procfs_enable=\"${ezjail_new_procfs_enable}\" | 696 | echo export jail_${ezjail_new_safename}_procfs_enable=\"${ezjail_new_procfs_enable}\" |
697 | echo export jail_${ezjail_new_safename}_fdescfs_enable=\"${ezjail_new_fdescfs_enable}\" | 697 | echo export jail_${ezjail_new_safename}_fdescfs_enable=\"${ezjail_new_fdescfs_enable}\" |
698 | echo export jail_${ezjail_new_safename}_image=\"${ezjail_new_image}\" | 698 | echo export jail_${ezjail_new_safename}_image=\"${ezjail_new_image}\" |