Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Nov 2009 09:56:46 +0000 (UTC)
From:      Remko Lodder <remko@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r198785 - head/etc/rc.d
Message-ID:  <200911020956.nA29ukQo052099@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}" &



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911020956.nA29ukQo052099>