diff options
-rwxr-xr-x | ezjail-admin | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin index d905279..6efdfbc 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -187,7 +187,10 @@ create) | |||
187 | # now, where everything seems to have gone right, create control file in | 187 | # now, where everything seems to have gone right, create control file in |
188 | # ezjails config dir | 188 | # ezjails config dir |
189 | mkdir -p ${ezjail_jailcfgs} | 189 | mkdir -p ${ezjail_jailcfgs} |
190 | echo export jail_${newjail_nname}_hostname=\"${newjail_name}\" > ${ezjail_jailcfgs}/${newjail_nname} | 190 | echo "# To specify the start up order of your ezjails, use these lines to" > ${ezjail_jailcfgs}/${newjail_nname} |
191 | echo "# create a Jail dependency tree. See rcorder(8) for more details." >> ${ezjail_jailcfgs}/${newjail_nname} | ||
192 | echo -e "#\n#\n# PROVIDE: \n# REQUIRE: \n# BEFORE: \n#\n" >> ${ezjail_jailcfgs}/${newjail_nname} | ||
193 | echo export jail_${newjail_nname}_hostname=\"${newjail_name}\" >> ${ezjail_jailcfgs}/${newjail_nname} | ||
191 | echo export jail_${newjail_nname}_ip=\"${newjail_ip}\" >> ${ezjail_jailcfgs}/${newjail_nname} | 194 | echo export jail_${newjail_nname}_ip=\"${newjail_ip}\" >> ${ezjail_jailcfgs}/${newjail_nname} |
192 | echo export jail_${newjail_nname}_rootdir=\"${newjail_root}\" >> ${ezjail_jailcfgs}/${newjail_nname} | 195 | echo export jail_${newjail_nname}_rootdir=\"${newjail_root}\" >> ${ezjail_jailcfgs}/${newjail_nname} |
193 | echo export jail_${newjail_nname}_exec=\"/bin/sh /etc/rc\" >> ${ezjail_jailcfgs}/${newjail_nname} | 196 | echo export jail_${newjail_nname}_exec=\"/bin/sh /etc/rc\" >> ${ezjail_jailcfgs}/${newjail_nname} |