Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] baselayout r3127 - branches/baselayout-1_12/net-scripts/init.d
Date: Sat, 31 May 2008 10:44:03
Message-Id: E1K2OZ3-000783-TA@stork.gentoo.org
1 Author: vapier
2 Date: 2008-05-31 10:43:57 +0000 (Sat, 31 May 2008)
3 New Revision: 3127
4
5 Modified:
6 branches/baselayout-1_12/net-scripts/init.d/net.lo
7 Log:
8 run unionctl on / rather than $dir as pointed out by Petric Frank #222783
9
10 Modified: branches/baselayout-1_12/net-scripts/init.d/net.lo
11 ===================================================================
12 --- branches/baselayout-1_12/net-scripts/init.d/net.lo 2008-04-15 14:30:10 UTC (rev 3126)
13 +++ branches/baselayout-1_12/net-scripts/init.d/net.lo 2008-05-31 10:43:57 UTC (rev 3127)
14 @@ -1004,7 +1004,7 @@
15 eerror "root filesystem is network mounted -- can't stop ${iface}"
16 return 1
17 elif is_union_fs / ; then
18 - for x in $(unionctl "${dir}" --list \
19 + for x in $(unionctl / --list \
20 | sed -e 's/^\(.*\) .*/\1/') ; do
21 if is_net_fs "${x}" ; then
22 eerror "Part of the root filesystem is network mounted - cannot stop ${iface}"
23
24 --
25 gentoo-commits@l.g.o mailing list