aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-plip
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-plip
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-plip')
-rwxr-xr-xsysconfig/network-scripts/ifup-plip4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-plip b/sysconfig/network-scripts/ifup-plip
index c1e01d53..25c36fea 100755
--- a/sysconfig/network-scripts/ifup-plip
+++ b/sysconfig/network-scripts/ifup-plip
@@ -1,8 +1,10 @@
#!/bin/sh
PATH=/sbin:/usr/sbin:/bin:/usr/bin
-CONFIG=$1
+cd /etc/sysconfig/network-scripts
. network-functions
+
+CONFIG=$1
source_config
if [ "foo$2" = "fooboot" -a "${ONBOOT}" = "no" ]