aboutsummaryrefslogtreecommitdiffstats
path: root/ppp/ip-up
diff options
context:
space:
mode:
Diffstat (limited to 'ppp/ip-up')
-rw-r--r--ppp/ip-up6
1 files changed, 1 insertions, 5 deletions
diff --git a/ppp/ip-up b/ppp/ip-up
index 4ae2b8c0..3b73814f 100644
--- a/ppp/ip-up
+++ b/ppp/ip-up
@@ -7,12 +7,8 @@ export PATH
LOGDEVICE=$6
REALDEVICE=$1
-NETWORKDIR=/etc/sysconfig/network-scripts
-# get Alias name of device
-[ -f /etc/ppp/$LOGDEVICE ] && . /etc/ppp/$LOGDEVICE
-
-[ -f $NETWORKDIR/${NICKNAME} ] && $NETWORKDIR/ifup-post ${NICKNAME}
+[ -f /etc/sysconfig/network-scripts/ifcfg-${LOGDEVICE} ] && /etc/sysconfig/network-scripts/ifup-post ifcfg-${LOGDEVICE}
[ -x /etc/ppp/ip-up.local ] && /etc/ppp/ip-up.local "$@"