aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig')
-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