aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ppp
diff options
context:
space:
mode:
authorJeff Johnson <jbj@redhat.com>1998-07-07 12:44:13 +0000
committerJeff Johnson <jbj@redhat.com>1998-07-07 12:44:13 +0000
commit5c7d641c917fb68a27a4aa8b2a91b00cf0241fd0 (patch)
treeebae0243266eebcbded0d3899199197c74577f07 /sysconfig/network-scripts/ifup-ppp
parented157d20a6177ddcf94e64681e33881fcd96df29 (diff)
downloadinitscripts-5c7d641c917fb68a27a4aa8b2a91b00cf0241fd0.tar
initscripts-5c7d641c917fb68a27a4aa8b2a91b00cf0241fd0.tar.gz
initscripts-5c7d641c917fb68a27a4aa8b2a91b00cf0241fd0.tar.bz2
initscripts-5c7d641c917fb68a27a4aa8b2a91b00cf0241fd0.tar.xz
initscripts-5c7d641c917fb68a27a4aa8b2a91b00cf0241fd0.zip
Always "cd /etc/sysconfig/network-scripts" before sourcing network_functions.
Diffstat (limited to 'sysconfig/network-scripts/ifup-ppp')
-rwxr-xr-xsysconfig/network-scripts/ifup-ppp4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp
index ecdeae97..a6b4a781 100755
--- a/sysconfig/network-scripts/ifup-ppp
+++ b/sysconfig/network-scripts/ifup-ppp
@@ -11,8 +11,10 @@ if [ "$1" != daemon ] ; then
fi
shift
-CONFIG=$1
+cd /etc/sysconfig/network-scripts
. network-functions
+
+CONFIG=$1
source_config
if [ -z "$DISCONNECTTIMEOUT" ]; then