Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149383627
D2088.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
746 B
Referenced Files
None
Subscribers
None
D2088.id.diff
View Options
Index: etc/rc.d/jail
===================================================================
--- etc/rc.d/jail
+++ etc/rc.d/jail
@@ -516,7 +516,10 @@
command=$jail_program
rc_flags=$jail_flags
command_args="-f $jail_conf -r"
- $jail_jls name | while read _j; do
+ for _j in $($jail_jls name); do
+ _rev_jail_list="${_j} ${_rev_jail_list}"
+ done
+ for _j in ${_rev_jail_list}; do
echo -n " $_j"
_tmp=`mktemp -t jail` || exit 3
$command $rc_flags $command_args $_j >> $_tmp 2>&1
@@ -532,6 +535,9 @@
;;
esac
for _j in $@; do
+ _rev_jail_list="${_j} ${_rev_jail_list}"
+ done
+ for _j in ${_rev_jail_list}; do
_j=$(echo $_j | tr /. _)
parse_options $_j || continue
if ! $jail_jls -j $_j > /dev/null 2>&1; then
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 25, 2:39 AM (5 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30292454
Default Alt Text
D2088.id.diff (746 B)
Attached To
Mode
D2088: Shutdown jails in reverse order if jail_list is specified
Attached
Detach File
Event Timeline
Log In to Comment