aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-07-17 22:56:31 +0000
committerBill Nottingham <notting@redhat.com>2001-07-17 22:56:31 +0000
commit9bbf9800e9cd8d064d59f7345ddfc9801baa0bd2 (patch)
tree2b06c6c6c833754b8204e4811630f4e7369f0097 /sysconfig/network-scripts
parentaa0a7aee92b88ca4db5051de0ff35752b46c3707 (diff)
downloadinitscripts-9bbf9800e9cd8d064d59f7345ddfc9801baa0bd2.tar
initscripts-9bbf9800e9cd8d064d59f7345ddfc9801baa0bd2.tar.gz
initscripts-9bbf9800e9cd8d064d59f7345ddfc9801baa0bd2.tar.bz2
initscripts-9bbf9800e9cd8d064d59f7345ddfc9801baa0bd2.tar.xz
initscripts-9bbf9800e9cd8d064d59f7345ddfc9801baa0bd2.zip
fix ifup/ifdown
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifdown2
-rwxr-xr-xsysconfig/network-scripts/ifup2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index 557c5c9e..71ce0ccb 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -13,7 +13,7 @@ CONFIG=$1
exit 1
}
-need_config
+need_config $CONFIG
[ -f "$CONFIG" ] || {
echo $"usage: ifdown <device name>" >&2
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 20c079bd..fa155f71 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -28,7 +28,7 @@ CONFIG=${1}
exit 1
}
-need_config
+need_config ${CONFIG}
[ -f "${CONFIG}" ] || {
echo $"$0: configuration for \"${1}\" not found." >&2