network-legacy/ifup: fix typo when calling dhclient --timeout
parent
958ca9e912
commit
212043f94d
|
@ -50,7 +50,7 @@ do_dhcp() {
|
|||
while [ $_COUNT -lt $_DHCPRETRY ]; do
|
||||
info "Starting dhcp for interface $netif"
|
||||
dhclient "$@" \
|
||||
${_timeout:+-timeout $_timeout} \
|
||||
${_timeout:+--timeout $_timeout} \
|
||||
-q \
|
||||
-cf /etc/dhclient.conf \
|
||||
-pf /tmp/dhclient.$netif.pid \
|
||||
|
|
Loading…
Reference in New Issue