aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifdown2
-rwxr-xr-xsysconfig/network-scripts/ifup2
-rwxr-xr-xsysconfig/network-scripts/ifup-eth2
3 files changed, 3 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index 31d3f716..fd766427 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -16,7 +16,7 @@ CONFIG=$1
exit 1
}
-need_config $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 5d50cbfc..d9095dc7 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -31,7 +31,7 @@ CONFIG=${1}
exit 1
}
-need_config ${CONFIG}
+need_config "${CONFIG}"
[ -f "${CONFIG}" ] || {
echo $"$0: configuration for ${1} not found." >&2
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index 17312863..51d1ae4f 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -24,7 +24,7 @@ cd /etc/sysconfig/network-scripts
CONFIG=${1}
-need_config ${CONFIG}
+need_config "${CONFIG}"
source_config