svn commit: r198785 - head/etc/rc.d
Remko Lodder
remko at FreeBSD.org
Mon Nov 2 09:56:47 UTC 2009
Author: remko
Date: Mon Nov 2 09:56:46 2009
New Revision: 198785
URL: http://svn.freebsd.org/changeset/base/198785
Log:
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.
Modified:
head/etc/rc.d/jail
Modified: head/etc/rc.d/jail
==============================================================================
--- head/etc/rc.d/jail Mon Nov 2 09:47:41 2009 (r198784)
+++ head/etc/rc.d/jail Mon Nov 2 09:56:46 2009 (r198785)
@@ -728,4 +728,4 @@ fi
if [ -n "$*" ]; then
jail_list="$*"
fi
-run_rc_command "${cmd}"
+run_rc_command "${cmd}" &
More information about the svn-src-all
mailing list