aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-06-29 04:34:52 +0000
committerBill Nottingham <notting@redhat.com>2004-06-29 04:34:52 +0000
commitb028dfb24e20e8b6f0a85fa5e91987a12ee666e3 (patch)
tree7b8a57879fc11efd9bc244d57782f73e13bf7713
parent84f6b17a9ec3e708a48db6e267a3c5f66915d36d (diff)
downloadinitscripts-b028dfb24e20e8b6f0a85fa5e91987a12ee666e3.tar
initscripts-b028dfb24e20e8b6f0a85fa5e91987a12ee666e3.tar.gz
initscripts-b028dfb24e20e8b6f0a85fa5e91987a12ee666e3.tar.bz2
initscripts-b028dfb24e20e8b6f0a85fa5e91987a12ee666e3.tar.xz
initscripts-b028dfb24e20e8b6f0a85fa5e91987a12ee666e3.zip
set devicetype for xDSL (#126194)
-rw-r--r--sysconfig/network-scripts/network-functions9
1 files changed, 4 insertions, 5 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index d988c1d2..d3208c3e 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -59,6 +59,9 @@ source_config ()
Modem)
DEVICETYPE="ppp"
;;
+ xDSL)
+ DEVICETYPE="ppp"
+ ;;
ISDN)
DEVICETYPE="ippp"
;;
@@ -77,10 +80,6 @@ source_config ()
ESCON)
DEVICETYPE="escon"
;;
- QETH)
- DEVICETYPE="eth"
- ;;
-
esac
[ -z "$DEVICETYPE" ] && DEVICETYPE=`echo ${DEVICE} | sed "s/[0-9]*$//"`
[ -z "$REALDEVICE" -a -n "$PARENTDEVICE" ] && REALDEVICE=$PARENTDEVICE
@@ -331,7 +330,7 @@ configure_ccwgroup_device ()
local DIR SYSDIR
# SUBCHANNELS is only set on mainframe ccwgroup devices
[ -z "$SUBCHANNELS" ] && return
- if [ "$TYPE" = "QETH" ]; then
+ if [ "$TYPE" = "QETH" -o "$TYPE" = "HSI" ]; then
DIR="/sys/bus/ccwgroup/drivers/qeth"
elif
[ "$TYPE" = "CTC" -o "$TYPE" = "ESCON" ]; then