diff options
author | Florian La Roche <laroche@redhat.com> | 2002-06-26 10:37:41 +0000 |
---|---|---|
committer | Florian La Roche <laroche@redhat.com> | 2002-06-26 10:37:41 +0000 |
commit | e4088390f4a3d8f3d3a59befb8b571b07826f523 (patch) | |
tree | e3183dc035380304b4bdfb43e3e6196a501187eb /ppp/ip-down | |
parent | 7f968d6ce159032e5f170dcedefad83894bfb95e (diff) | |
download | initscripts-e4088390f4a3d8f3d3a59befb8b571b07826f523.tar initscripts-e4088390f4a3d8f3d3a59befb8b571b07826f523.tar.gz initscripts-e4088390f4a3d8f3d3a59befb8b571b07826f523.tar.bz2 initscripts-e4088390f4a3d8f3d3a59befb8b571b07826f523.tar.xz initscripts-e4088390f4a3d8f3d3a59befb8b571b07826f523.zip |
- set PATH also in /etc/sysconfig/network-scripts/network-functions
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} |