summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2006-04-01 17:07:33 +0000
committererdgeist <erdgeist@erdgeist.org>2006-04-01 17:07:33 +0000
commit8320371a4b1e535120331c74f65b7b34cff1fa5c (patch)
treef9fc2298040b8626206981cfb8eec79da57349d9 /ezjail-admin
parent090aba192f0fe01c962ac9ee5e5ad3cc5a5bdf3f (diff)
Provide some lines to indicate the availability of rcorder-style ordering in ezjail configs.
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin5
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}