diff options
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-x | ezjail-admin | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin index f629a73..cf3ddf9 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -130,8 +130,11 @@ create) | |||
130 | cd ${ezjail_flavours}/${newjail_flavour} | 130 | cd ${ezjail_flavours}/${newjail_flavour} |
131 | find * | cpio -p -v ${newjail_root} > /dev/null | 131 | find * | cpio -p -v ${newjail_root} > /dev/null |
132 | 132 | ||
133 | install -o root -g wheel -m 0755 ${ezjail_share}/ezjail-config.sh ${newjail_root}/etc/rc.d/ezjail-config.sh | 133 | if [ -f ${ezjail_share}/ezjail.flavour ]; then |
134 | echo "Note: Shell scripts installed, flavourizing on jails first startup." | 134 | ln -s /ezjail.flavour ${newjail_root}/etc/rc.d/ezjail-config.sh |
135 | chmod 0700 ${newjail_root}/etc/rc.d/ezjail-config.sh | ||
136 | echo "Note: Shell scripts installed, flavourizing on jails first startup." | ||
137 | fi | ||
135 | fi | 138 | fi |
136 | 139 | ||
137 | # For user convenience, some scenarios commonly causing | 140 | # For user convenience, some scenarios commonly causing |