aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-01-31 20:37:08 +0000
committerBill Nottingham <notting@redhat.com>2000-01-31 20:37:08 +0000
commitd1eccdf7232e954803c3b5379f3a3a6eca5f3b01 (patch)
treea8ce32f22c15827c7095e9eacf94672e14898fab
parent46c30b79f0cbbf63c92c3f1096137886f4541276 (diff)
downloadinitscripts-d1eccdf7232e954803c3b5379f3a3a6eca5f3b01.tar
initscripts-d1eccdf7232e954803c3b5379f3a3a6eca5f3b01.tar.gz
initscripts-d1eccdf7232e954803c3b5379f3a3a6eca5f3b01.tar.bz2
initscripts-d1eccdf7232e954803c3b5379f3a3a6eca5f3b01.tar.xz
initscripts-d1eccdf7232e954803c3b5379f3a3a6eca5f3b01.zip
*** empty log message ***
-rw-r--r--ChangeLog6
-rwxr-xr-xrc.d/init.d/network8
2 files changed, 8 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index e1844b6d..53ccd58d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2000-01-31 Bill Nottingham <notting@redhat.com>
+ * rc.d/init.d/network:
+ bring down *all* interfaces on network stop
+
+ * src/initlog.c, src/process.c:
+ fix some warnings on alpha
+
* rc.d/init.d/network, sysconfig/network-scripts/ifup:
fix logic of boot-time interfaces somewhat
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 4757fe45..3d3669f7 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -37,11 +37,6 @@ cd /etc/sysconfig/network-scripts
interfaces=`ls ifcfg* | egrep -v '(ifcfg-lo|:)' | egrep 'ifcfg-[a-z0-9]+$' | \
sed 's/^ifcfg-//g'`
-interfaces_boot=
-for inter in $interfaces ; do
- egrep -L "ONBOOT=\"?[Nn][Oo]\"?" ifcfg-$inter >/dev/null || interfaces_boot="$interfaces_boot $inter"
-done
-
# See how we were called.
case "$1" in
start)
@@ -60,7 +55,8 @@ case "$1" in
for i in $interfaces; do
if egrep -L "ONBOOT=\"?[Nn][Oo]\"?" ifcfg-$i >/dev/null ; then
- ./ifup $i boot
+ # Probe module to preserve interface ordering
+ /sbin/ifconfig $i >/dev/null 2>&1
else
action "Bringing up interface $i" ./ifup $i boot
fi