From 23e879f6ff48a792095e6bdbbe74dfda2b1c74f2 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 17 Feb 2010 16:30:18 -0500 Subject: Quote need_config; needed when identifying configuration by NM's 'name'. --- sysconfig/network-scripts/ifdown | 2 +- sysconfig/network-scripts/ifup | 2 +- sysconfig/network-scripts/ifup-eth | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sysconfig') 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 " >&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 -- cgit v1.2.1