summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorremko <remko@FreeBSD.org>2009-11-02 09:56:46 +0000
committerremko <remko@FreeBSD.org>2009-11-02 09:56:46 +0000
commit0d8a28aed3c695e1a9059466d3cf43f31f654b6e (patch)
tree48545b94da5c348339a01c8afda3cd696fbd0036 /etc
parent66bbab4f7432f51dfa21f458012f153810c6ae7d (diff)
downloadFreeBSD-src-0d8a28aed3c695e1a9059466d3cf43f31f654b6e.zip
FreeBSD-src-0d8a28aed3c695e1a9059466d3cf43f31f654b6e.tar.gz
Execute the start/stop process of a jail in the background.
This will prevent that the script hangs during startup, which could cause annoying effects after rebooting for example. PR: kern/139422 Submitted by: Andrey Groshev <greenx at yartv dot ru> Approved by: imp (mentor, implicit) MFC after: 3 days Facilitated by: Snow B.V.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/jail2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/jail b/etc/rc.d/jail
index 830cd5f..084acb7 100755
--- a/etc/rc.d/jail
+++ b/etc/rc.d/jail
@@ -728,4 +728,4 @@ fi
if [ -n "$*" ]; then
jail_list="$*"
fi
-run_rc_command "${cmd}"
+run_rc_command "${cmd}" &
OpenPOWER on IntegriCloud