aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-11-10 22:46:50 +0000
committerBill Nottingham <notting@redhat.com>2003-11-10 22:46:50 +0000
commit1372604fc5ff8d543c2c203af5a2a152f2a0759c (patch)
tree2fc0be2b5007257567863d820d87f8016d7992ad
parentb425aa86733a66d205e2cca47ea55ada116ddd0e (diff)
downloadinitscripts-1372604fc5ff8d543c2c203af5a2a152f2a0759c.tar
initscripts-1372604fc5ff8d543c2c203af5a2a152f2a0759c.tar.gz
initscripts-1372604fc5ff8d543c2c203af5a2a152f2a0759c.tar.bz2
initscripts-1372604fc5ff8d543c2c203af5a2a152f2a0759c.tar.xz
initscripts-1372604fc5ff8d543c2c203af5a2a152f2a0759c.zip
fix xDSL and other interfaces (#109601)
-rwxr-xr-xrc.d/init.d/network16
1 files changed, 8 insertions, 8 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 3cbf9c7c..9452deeb 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -110,16 +110,16 @@ case "$1" in
if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi
if [ "${DEVICE##cipcb}" != "$DEVICE" ] ; then
- cipeinterfaces="$cipeinterfaces $DEVICE"
+ cipeinterfaces="$cipeinterfaces $i"
continue
fi
if [ "$TYPE" = "xDSL" ]; then
- xdslinterfaces="$xdslinterfaces $DEVICE"
+ xdslinterfaces="$xdslinterfaces $i"
continue
fi
if [ -n "$BRIDGE" ]; then
- bridgeinterfaces="$bridgeinterfaces $DEVICE"
+ bridgeinterfaces="$bridgeinterfaces $i"
continue
fi
@@ -205,15 +205,15 @@ case "$1" in
if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi
if [ "${DEVICE##cipcb}" != "$DEVICE" ] ; then
- cipeinterfaces="$cipeinterfaces $DEVICE"
+ cipeinterfaces="$cipeinterfaces $i"
continue
fi
if [ -n "$BRIDGE" ]; then
- bridgeinterfaces="$bridgeinterfaces $DEVICE"
+ bridgeinterfaces="$bridgeinterfaces $i"
continue
fi
if [ "$TYPE" = "xDSL" ]; then
- xdslinterfaces="$xdslinterfaces $DEVICE"
+ xdslinterfaces="$xdslinterfaces $i"
continue
fi
done
@@ -222,7 +222,7 @@ case "$1" in
eval $(fgrep "DEVICE=" ifcfg-$i)
if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi
- if ! check_device_down $i; then
+ if ! check_device_down $DEVICE; then
action $"Shutting down interface $i: " ./ifdown $i boot
fi
done
@@ -232,7 +232,7 @@ case "$1" in
eval $(fgrep "DEVICE=" ifcfg-$i)
if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi
- if ! check_device_down $i; then
+ if ! check_device_down $DEVICE; then
action $"Shutting down interface $i: " ./ifdown $i boot
fi
done