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}" &
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to