Permalink
Browse files

ifup-eth: remove quote marks

With quote marks all the parameters to dhclient are passed as one
Resolves: #1410429
  • Loading branch information...
lnykryn authored and deekej committed Jan 6, 2017
1 parent 59dd39d commit 590adf623afff95c4b601f6e01ebe0418bedc412
Showing with 1 addition and 1 deletion.
  1. +1 −1 sysconfig/network-scripts/ifup-eth
@@ -324,7 +324,7 @@ if [[ "${DHCPV6C}" = [Yy1]* ]] && [ -x /sbin/dhclient ]; then
DHCLIENTARGS="-6 -1 ${DHCPV6C_OPTIONS} ${DHCLIENTCONF} -lf /var/lib/dhclient/dhclient6-${DEVICE}.leases -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."

0 comments on commit 590adf6

Please sign in to comment.