diff options
Diffstat (limited to 'ppp/ip-down')
-rw-r--r-- | ppp/ip-down | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ppp/ip-down b/ppp/ip-down index 70f1aa8f..3c86f2a6 100644 --- a/ppp/ip-down +++ b/ppp/ip-down @@ -1,14 +1,13 @@ #!/bin/bash - # This file should not be modified -- make local changes to # /etc/ppp/ip-down.local instead -LOGDEVICE=$6 -REALDEVICE=$1 - PATH=/sbin:/usr/sbin:/bin:/usr/bin export PATH +LOGDEVICE=$6 +REALDEVICE=$1 + [ -x /etc/ppp/ip-down.local ] && /etc/ppp/ip-down.local "$@" /etc/sysconfig/network-scripts/ifdown-post ifcfg-${LOGDEVICE} |