conf/89911 : [patch] /etc/rc.d/jail restart ignores command line
support at monkeybrains.net
Mon Dec 5 23:20:06 GMT 2005
The following reply was made to PR conf/89911; it has been noted by GNATS.
From: "Support (Rudy)" <support at monkeybrains.net>
To: bug-followup at FreeBSD.org, crapsh at monkeybrains.net
Subject: Re: conf/89911 : [patch] /etc/rc.d/jail restart ignores command line
Date: Mon, 05 Dec 2005 15:15:50 -0800
I forgot some quotes and made the comment easier to read.
Spefically the quotes in this line:
[ -n "$jail_list" ]
Here is the new diff:
--- usr/src/etc/rc.d/jail Tue Aug 16 01:43:06 2005
+++ /etc/rc.d/jail Mon Dec 5 15:11:13 2005
@@ -248,4 +248,15 @@
[ -n "$*" ] && jail_list="$*"
+# Store the jail_list passed from the command line in an environment
+# Check for the varibable reset the jail_list if found.
+if [ -n "$_jail_restart_list" ]; then
+if [ $cmd = 'restart' ] && [ -n "$jail_list" ]; then
+ export _jail_restart_list
More information about the freebsd-bugs