diff options
author | erdgeist <erdgeist@erdgeist.org> | 2006-02-09 00:44:49 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2006-02-09 00:44:49 +0000 |
commit | c270955ae0294666d25984244588456723579b38 (patch) | |
tree | e1d810b2fa734daf76aa39d6b0fb284cfba2a798 /ezjail-admin | |
parent | ea7235c93e6bf0a241a6767301a7a2de4675d913 (diff) |
Radical change of what an ezjail flavour is. The old way got me stuck.
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 |