aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-eth
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2015-10-27 10:12:19 +0100
committerLukas Nykryn <lnykryn@redhat.com>2015-10-27 10:12:19 +0100
commit6b3a75f3e5da0a23fc0dcd5facd81b7b8f2f687e (patch)
treea188a6340e988186f78150d8eb9eb335c9d7b0cd /sysconfig/network-scripts/ifdown-eth
parent0f5fb4820a5173934a4d7c98d88037ccad21f3f1 (diff)
downloadinitscripts-6b3a75f3e5da0a23fc0dcd5facd81b7b8f2f687e.tar
initscripts-6b3a75f3e5da0a23fc0dcd5facd81b7b8f2f687e.tar.gz
initscripts-6b3a75f3e5da0a23fc0dcd5facd81b7b8f2f687e.tar.bz2
initscripts-6b3a75f3e5da0a23fc0dcd5facd81b7b8f2f687e.tar.xz
initscripts-6b3a75f3e5da0a23fc0dcd5facd81b7b8f2f687e.zip
network-scripts: DEVICE and HWADRR could be quoted by apostrophe
Diffstat (limited to 'sysconfig/network-scripts/ifdown-eth')
-rwxr-xr-xsysconfig/network-scripts/ifdown-eth2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown-eth b/sysconfig/network-scripts/ifdown-eth
index fb2d291c..e163c8e5 100755
--- a/sysconfig/network-scripts/ifdown-eth
+++ b/sysconfig/network-scripts/ifdown-eth
@@ -57,7 +57,7 @@ fi
fi
if is_bonding_device ${DEVICE} ; then
- for device in $(LANG=C grep -l "^[[:space:]]*MASTER=\"\?${DEVICE}\"\?\([[:space:]#]\|$\)" /etc/sysconfig/network-scripts/ifcfg-*) ; do
+ for device in $(LANG=C grep -l "^[[:space:]]*MASTER=['\"]\?${DEVICE}['\"]\?\([[:space:]#]\|$\)" /etc/sysconfig/network-scripts/ifcfg-*) ; do
is_ignored_file "$device" && continue
/sbin/ifdown ${device##*/}
done