aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-02-17 16:30:18 -0500
committerBill Nottingham <notting@redhat.com>2010-03-01 16:03:37 -0500
commit23e879f6ff48a792095e6bdbbe74dfda2b1c74f2 (patch)
treec9fc16b8c690556ab6e4e73065a11271408d4ad6 /sysconfig
parentfca418e42dd0291a5ea7a6490a14dab90a0e5511 (diff)
downloadinitscripts-23e879f6ff48a792095e6bdbbe74dfda2b1c74f2.tar
initscripts-23e879f6ff48a792095e6bdbbe74dfda2b1c74f2.tar.gz
initscripts-23e879f6ff48a792095e6bdbbe74dfda2b1c74f2.tar.bz2
initscripts-23e879f6ff48a792095e6bdbbe74dfda2b1c74f2.tar.xz
initscripts-23e879f6ff48a792095e6bdbbe74dfda2b1c74f2.zip
Quote need_config; needed when identifying configuration by NM's 'name'.
Diffstat (limited to 'sysconfig')
-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