aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-sl
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-sl
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-sl')
-rwxr-xr-xsysconfig/network-scripts/ifup-sl4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-sl b/sysconfig/network-scripts/ifup-sl
index 50ddbad8..c39f5d4e 100755
--- a/sysconfig/network-scripts/ifup-sl
+++ b/sysconfig/network-scripts/ifup-sl
@@ -12,8 +12,10 @@ if [ "$1" != daemon ] ; then
fi
shift
-CONFIG=$1
+cd /etc/sysconfig/network-scripts
. network-functions
+
+CONFIG=$1
source_config
if [ "foo$2" = "fooboot" -a ${ONBOOT} = "no" ]