summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authormatteo <matteo@FreeBSD.org>2006-05-30 16:20:48 +0000
committermatteo <matteo@FreeBSD.org>2006-05-30 16:20:48 +0000
commit54eed11bfc5d6960c75863372b9dfa9816e93edc (patch)
tree7871a254cc3a27d68c6b3a20268770175423cb4a /etc/defaults
parentbb69a4c72359a0776867cb699e6d3f3de51373a5 (diff)
downloadFreeBSD-src-54eed11bfc5d6960c75863372b9dfa9816e93edc.zip
FreeBSD-src-54eed11bfc5d6960c75863372b9dfa9816e93edc.tar.gz
Add jail_<jname>_exec_afterstart<N> rc.conf variable, where <N> is
1,2 and so on. It specifies the command to be run as Nth after jail startup. sh(1)-fu by: Dario Freni PR: conf/97697 MFC after: 2 weeks Reviewed by: ru@ (man page)
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/rc.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 9698137..8a5f436 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -546,6 +546,9 @@ jail_sysvipc_allow="NO" # Allow SystemV IPC use from within a jail
#jail_example_ip="192.168.0.10" # Jail's IP number
#jail_example_interface="" # Interface to create the IP alias on
#jail_example_exec_start="/bin/sh /etc/rc" # command to execute in jail for starting
+#jail_example_exec_afterstart0="/bin/sh command" # command to execute after the one for
+ # starting the jail. More than one can be
+ # specified using a trailing number
#jail_example_exec_stop="/bin/sh /etc/rc.shutdown" # command to execute in jail for stopping
#jail_example_devfs_enable="NO" # mount devfs in the jail
#jail_example_fdescfs_enable="NO" # mount fdescfs in the jail
OpenPOWER on IntegriCloud