aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-post
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-post
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-post')
-rwxr-xr-xsysconfig/network-scripts/ifup-post3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post
index 414bae6a..789afd12 100755
--- a/sysconfig/network-scripts/ifup-post
+++ b/sysconfig/network-scripts/ifup-post
@@ -1,11 +1,10 @@
#!/bin/sh
cd /etc/sysconfig/network-scripts
-
-CONFIG=$1
. network-functions
need_hostname
+CONFIG=$1
source_config
DEVICETYPE=`echo $DEVICE | sed "s/[0-9]*$//"`