aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2017-01-06 15:49:04 +0100
committerDee'Kej <deekej@linuxmail.org>2017-03-22 17:12:55 +0100
commit9a5185bf94c7012acf6c63488449760de3abab4b (patch)
treee33f73a8b27352d53156adc872582252b793e3a9
parent28ab82cd80678e2a16cdaf99b33e78bd427d13b3 (diff)
downloadinitscripts-9a5185bf94c7012acf6c63488449760de3abab4b.tar
initscripts-9a5185bf94c7012acf6c63488449760de3abab4b.tar.gz
initscripts-9a5185bf94c7012acf6c63488449760de3abab4b.tar.bz2
initscripts-9a5185bf94c7012acf6c63488449760de3abab4b.tar.xz
initscripts-9a5185bf94c7012acf6c63488449760de3abab4b.zip
ifup-eth: remove quote marks
With quote marks all the parameters to dhclient are passed as one Resolves: #1410429
-rwxr-xr-xsysconfig/network-scripts/ifup-eth2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index 7f21477c..b6a883f6 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -343,7 +343,7 @@ if is_true "${DHCPV6C}" && [ -x /sbin/dhclient ]; then
DHCLIENTARGS="-6 -1 ${DHCPV6C_OPTIONS} ${DHCLIENTCONF} -lf ${LEASEFILE} -pf /var/run/dhclient6-${DEVICE}.pid ${DHCP_HOSTNAME:+-H $DHCP_HOSTNAME} ${DEVICE}"
fi
- if /sbin/dhclient "$DHCLIENTARGS"; then
+ if /sbin/dhclient $DHCLIENTARGS; then
echo $" done."
else
echo $" failed."