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:20:51 +0100
commit046d118e7927feaf75f44b064394edbc0ef26a26 (patch)
tree5b54cbb6923f273c7694247a99e7eaec485377ff
parentaf2882abc443a4e6863e0e9a52a0c5e7eaf384e8 (diff)
downloadinitscripts-046d118e7927feaf75f44b064394edbc0ef26a26.tar
initscripts-046d118e7927feaf75f44b064394edbc0ef26a26.tar.gz
initscripts-046d118e7927feaf75f44b064394edbc0ef26a26.tar.bz2
initscripts-046d118e7927feaf75f44b064394edbc0ef26a26.tar.xz
initscripts-046d118e7927feaf75f44b064394edbc0ef26a26.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."