diff options
author | remko <remko@FreeBSD.org> | 2009-11-02 09:56:46 +0000 |
---|---|---|
committer | remko <remko@FreeBSD.org> | 2009-11-02 09:56:46 +0000 |
commit | 0d8a28aed3c695e1a9059466d3cf43f31f654b6e (patch) | |
tree | 48545b94da5c348339a01c8afda3cd696fbd0036 /etc/rc.d | |
parent | 66bbab4f7432f51dfa21f458012f153810c6ae7d (diff) | |
download | FreeBSD-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/rc.d')
-rwxr-xr-x | etc/rc.d/jail | 2 |
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}" & |