diff options
Diffstat (limited to 'sysconfig')
-rwxr-xr-x | sysconfig/network-scripts/ifup-ppp | 3 | ||||
-rw-r--r-- | sysconfig/network-scripts/network-functions | 10 |
2 files changed, 0 insertions, 13 deletions
diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp index 3f8ea620..3d8be0f5 100755 --- a/sysconfig/network-scripts/ifup-ppp +++ b/sysconfig/network-scripts/ifup-ppp @@ -71,9 +71,6 @@ if [ ! -f ${PEERCONF} ]; then if [ -z "${WVDIALSECT}" ] ; then CHATSCRIPT=/etc/sysconfig/network-scripts/chat-${DEVNAME} [ -f ${CHATSCRIPT} ] || { - CHATSCRIPT=/etc/sysconfig/network-scripts/chat-${PARENTDEVNAME} - } - [ -f ${CHATSCRIPT} ] || { echo $"/etc/sysconfig/network-scripts/chat-${DEVNAME} does not exist" echo $"ifup-ppp for ${DEVNAME} exiting" /usr/bin/logger -p daemon.info -t ifup-ppp \ diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 7c0dff8e..8c720598 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -67,16 +67,6 @@ need_config () source_config () { DEVNAME=`basename $CONFIG | sed 's/^ifcfg-//g'` - if echo ${CONFIG##*/} | grep -q '[^g]-' ; then - PARENTCONFIG=`echo $CONFIG | sed 's/-[^-]*$//g'` - PARENTDEVNAME=${PARENTCONFIG##*/ifcfg-} - [ -f $PARENTCONFIG ] || { - echo $"Missing config file $PARENTCONFIG." >&2 - exit 1 - } - . ./$PARENTCONFIG - [ -r "keys-$PARENTDEVNAME" ] && . ./keys-$PARENTDEVNAME - fi . ./$CONFIG [ -r "keys-$DEVNAME" ] && . ./keys-$DEVNAME case "$TYPE" in |