diff options
Diffstat (limited to 'ppp/ip-up')
-rw-r--r-- | ppp/ip-up | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,14 +1,13 @@ #!/bin/bash - # This file should not be modified -- make local changes to # /etc/ppp/ip-up.local instead -LOGDEVICE=$6 -REALDEVICE=$1 - PATH=/sbin:/usr/sbin:/bin:/usr/bin export PATH +LOGDEVICE=$6 +REALDEVICE=$1 + [ -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 "$@" |