summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2009-11-18 04:00:08 +0100
committerJames Rayner <james@archlinux.org>2009-11-18 04:00:08 +0100
commit4eb33236f56c1fb51de62c4706d8d291cdca019c (patch)
tree10356f15cef0bd2fec528235b29bc66d39e72c71 /src
parent3cbb28408f4537fbc7beaa7148458f0db3f02baf (diff)
downloadnetctl-4eb33236f56c1fb51de62c4706d8d291cdca019c.tar.gz
netctl-4eb33236f56c1fb51de62c4706d8d291cdca019c.tar.xz
FS#14509 - add DHCLIENT_OPTIONS for dhclient based setup
Diffstat (limited to 'src')
-rw-r--r--src/connections/ethernet2
1 files changed, 1 insertions, 1 deletions
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