From 4eb33236f56c1fb51de62c4706d8d291cdca019c Mon Sep 17 00:00:00 2001 From: James Rayner Date: Wed, 18 Nov 2009 14:00:08 +1100 Subject: FS#14509 - add DHCLIENT_OPTIONS for dhclient based setup --- src/connections/ethernet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/connections') diff --git a/src/connections/ethernet b/src/connections/ethernet index 7265f40..eb0bd8d 100644 --- a/src/connections/ethernet +++ b/src/connections/ethernet @@ -51,7 +51,7 @@ ethernet_up() { if checkyesno "${DHCLIENT:-no}"; then rm -r "/var/run/dhclient-${INTERFACE}.pid" >/dev/null 2>&1 report_debug ethernet_up dhclient -q -e TIMEOUT="${DHCP_TIMEOUT:-10}" -pf "/var/run/dhclient-$INTERFACE.pid" "$INTERFACE" - if ! dhclient -q -e TIMEOUT="${DHCP_TIMEOUT:-10}" -pf "/var/run/dhclient-${INTERFACE}.pid" "$INTERFACE"; then + if ! dhclient -q -e TIMEOUT="${DHCP_TIMEOUT:-10}" -pf "/var/run/dhclient-${INTERFACE}.pid" ${DHCLIENT_OPTIONS} "$INTERFACE"; then report_fail "DHCP IP lease attempt failed." return 1 fi -- cgit v1.2.3-24-g4f1b