diff options
author | Bill Nottingham <notting@redhat.com> | 2003-11-10 22:46:50 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-11-10 22:46:50 +0000 |
commit | 1372604fc5ff8d543c2c203af5a2a152f2a0759c (patch) | |
tree | 2fc0be2b5007257567863d820d87f8016d7992ad /rc.d/init.d | |
parent | b425aa86733a66d205e2cca47ea55ada116ddd0e (diff) | |
download | initscripts-1372604fc5ff8d543c2c203af5a2a152f2a0759c.tar initscripts-1372604fc5ff8d543c2c203af5a2a152f2a0759c.tar.gz initscripts-1372604fc5ff8d543c2c203af5a2a152f2a0759c.tar.bz2 initscripts-1372604fc5ff8d543c2c203af5a2a152f2a0759c.tar.xz initscripts-1372604fc5ff8d543c2c203af5a2a152f2a0759c.zip |
fix xDSL and other interfaces (#109601)
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-x | rc.d/init.d/network | 16 |
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 |