summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin4
1 files changed, 2 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 22a459a..3436ef8 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -671,8 +671,8 @@ create)
671 # If an old style flavour config is found, make it auto run on jails startup 671 # If an old style flavour config is found, make it auto run on jails startup
672 if [ -f "${ezjail_rootdir}/ezjail.flavour" ]; then 672 if [ -f "${ezjail_rootdir}/ezjail.flavour" ]; then
673 chmod 0755 "${ezjail_rootdir}/ezjail.flavour" 673 chmod 0755 "${ezjail_rootdir}/ezjail.flavour"
674 mv "${ezjail_rootdir}/ezjail.flavour" "${ezjail_rootdir}/ezjail.flavour".`printf %04d $(( installed_flavours+=1 ))` 674 mv "${ezjail_rootdir}/ezjail.flavour" "${ezjail_rootdir}/ezjail.flavour".`printf %04d ${installed_flavours}`
675 echo "Note: Shell scripts for flavour ${ezjail_flavour} installed, flavourizing on jails first startup." 675 [ $(( installed_flavours+=1 )) == 1 ] && echo "Note: Shell scripts for flavour ${ezjail_flavour} installed, flavourizing on jails first startup."
676 676
677 cat > "${ezjail_rootdir}/etc/rc.d/ezjail-config" <<"EOF" 677 cat > "${ezjail_rootdir}/etc/rc.d/ezjail-config" <<"EOF"
678#!/bin/sh 678#!/bin/sh