aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-ppp
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1997-09-18 19:49:46 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1997-09-18 19:49:46 +0000
commitb49499f63193f2e1be55badd92b0c7ed203e8dc7 (patch)
treeaf452ce5d2aa3fbeef0dca5cba6fdfa906376196 /sysconfig/network-scripts/ifdown-ppp
parent474a704b1a42ce6d44a79b6dacf06d9ba2b780ad (diff)
downloadinitscripts-b49499f63193f2e1be55badd92b0c7ed203e8dc7.tar
initscripts-b49499f63193f2e1be55badd92b0c7ed203e8dc7.tar.gz
initscripts-b49499f63193f2e1be55badd92b0c7ed203e8dc7.tar.bz2
initscripts-b49499f63193f2e1be55badd92b0c7ed203e8dc7.tar.xz
initscripts-b49499f63193f2e1be55badd92b0c7ed203e8dc7.zip
Support alternative device configurations.
Diffstat (limited to 'sysconfig/network-scripts/ifdown-ppp')
-rwxr-xr-xsysconfig/network-scripts/ifdown-ppp4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown-ppp b/sysconfig/network-scripts/ifdown-ppp
index f3226419..299fb8a9 100755
--- a/sysconfig/network-scripts/ifdown-ppp
+++ b/sysconfig/network-scripts/ifdown-ppp
@@ -3,7 +3,9 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
cd /etc/sysconfig/network-scripts
-. $1
+CONFIG=$1
+. network-functions
+source_config
if [ ! -f /var/run/ppp-$DEVICE.dev ]; then
# ppp isn't running, or we didn't start it