aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1997-09-24 19:23:49 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1997-09-24 19:23:49 +0000
commit78c48c8f45ab703201a635fc5be25849656472ef (patch)
tree13ad0b07b83370ed9440a906cd7ec677f8c54c1c /sysconfig
parent8405bb6652658a35197cbb733e3f992c2bace2b1 (diff)
downloadinitscripts-78c48c8f45ab703201a635fc5be25849656472ef.tar
initscripts-78c48c8f45ab703201a635fc5be25849656472ef.tar.gz
initscripts-78c48c8f45ab703201a635fc5be25849656472ef.tar.bz2
initscripts-78c48c8f45ab703201a635fc5be25849656472ef.tar.xz
initscripts-78c48c8f45ab703201a635fc5be25849656472ef.zip
source_config
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifdown4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index ef8fe1cf..13a0338e 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -3,6 +3,8 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
cd /etc/sysconfig/network-scripts
+. network-functions
+
CONFIG=$1
[ -z "$CONFIG" ] && {
@@ -24,7 +26,7 @@ if [ $UID != 0 ]; then
exit 1
fi
-. $CONFIG
+source_config
DEVICETYPE=`echo $DEVICE | sed "s/[0-9]*$//"`
OTHERSCRIPT="/etc/sysconfig/network-scripts/ifdown-${DEVICETYPE}"