Browse Source

network-legacy/ifup: fix typo when calling dhclient --timeout

master
Lukas Nykryn 5 years ago committed by Harald Hoyer
parent
commit
212043f94d
  1. 2
      modules.d/35network-legacy/ifup.sh

2
modules.d/35network-legacy/ifup.sh

@ -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…
Cancel
Save