[Midnightbsd-cvs] src [6719] trunk/etc/rc.d/jail: in the backward compatibility case, we still want to shutdown the jail cleanly

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Jul 30 17:37:49 EDT 2014


Revision: 6719
          http://svnweb.midnightbsd.org/src/?rev=6719
Author:   laffer1
Date:     2014-07-30 17:37:49 -0400 (Wed, 30 Jul 2014)
Log Message:
-----------
in the backward compatibility case, we still want to shutdown the jail cleanly

Modified Paths:
--------------
    trunk/etc/rc.d/jail

Modified: trunk/etc/rc.d/jail
===================================================================
--- trunk/etc/rc.d/jail	2014-07-28 11:05:29 UTC (rev 6718)
+++ trunk/etc/rc.d/jail	2014-07-30 21:37:49 UTC (rev 6719)
@@ -86,7 +86,7 @@
 	if [ -n "${_exec}" ]; then
 		#   simple/backward-compatible execution
 		_exec_start="${_exec}"
-		_exec_stop=""
+		_exec_stop="/bin/sh /etc/rc.shutdown"
 	else
 		#   flexible execution
 		if [ -z "${_exec_start}" ]; then



More information about the Midnightbsd-cvs mailing list