diff options
author | Bill Nottingham <notting@redhat.com> | 2010-02-17 16:30:18 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-03-01 16:03:37 -0500 |
commit | 23e879f6ff48a792095e6bdbbe74dfda2b1c74f2 (patch) | |
tree | c9fc16b8c690556ab6e4e73065a11271408d4ad6 | |
parent | fca418e42dd0291a5ea7a6490a14dab90a0e5511 (diff) | |
download | initscripts-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'.
-rwxr-xr-x | sysconfig/network-scripts/ifdown | 2 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup | 2 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup-eth | 2 |
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 |