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