each jail is declared a standard_ezjail for rcorder to make it easier to run a jail BEFORE: any other jail (e.g. name servers will run BEFORE: standard_ezjail)

This commit is contained in:
erdgeist 2006-05-17 11:44:36 +00:00
parent 5109389f1a
commit 18a8596359

View File

@ -329,7 +329,7 @@ create)
mkdir -p ${ezjail_jailcfgs} mkdir -p ${ezjail_jailcfgs}
echo "# To specify the start up order of your ezjails, use these lines to" > ${ezjail_config} echo "# To specify the start up order of your ezjails, use these lines to" > ${ezjail_config}
echo "# create a Jail dependency tree. See rcorder(8) for more details." >> ${ezjail_config} echo "# create a Jail dependency tree. See rcorder(8) for more details." >> ${ezjail_config}
echo -e "#\n# PROVIDE: \n# REQUIRE: \n# BEFORE: \n#\n" >> ${ezjail_config} echo -e "#\n# PROVIDE: standard_ezjail\n# REQUIRE: \n# BEFORE: \n#\n" >> ${ezjail_config}
echo export jail_${ezjail_safename}_hostname=\"${ezjail_hostname}\" >> ${ezjail_config} echo export jail_${ezjail_safename}_hostname=\"${ezjail_hostname}\" >> ${ezjail_config}
echo export jail_${ezjail_safename}_ip=\"${ezjail_ip}\" >> ${ezjail_config} echo export jail_${ezjail_safename}_ip=\"${ezjail_ip}\" >> ${ezjail_config}
echo export jail_${ezjail_safename}_rootdir=\"${ezjail_rootdir}\" >> ${ezjail_config} echo export jail_${ezjail_safename}_rootdir=\"${ezjail_rootdir}\" >> ${ezjail_config}