]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
network/ifup.sh: let dhcp client run in the background
authorHarald Hoyer <harald@redhat.com>
Tue, 18 Aug 2015 09:53:31 +0000 (11:53 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 11 Nov 2015 14:57:53 +0000 (15:57 +0100)
we need to renew the lease

(cherry picked from commit fb2d643a385f1b02fbac6c2782b0026029c6bde7)

modules.d/40network/ifup.sh

index bb20afe2c2b7057136bbdaef5e485918afd66d3f..ceb5f5cb4bbdfc5a3d5fd7e74569e94c7a64baeb 100755 (executable)
@@ -109,7 +109,7 @@ do_dhcp() {
         info "Starting dhcp for interface $netif"
         dhclient "$@" \
                  ${_timeout:+-timeout $_timeout} \
-                 -1 -q \
+                 -q \
                  -cf /etc/dhclient.conf \
                  -pf /tmp/dhclient.$netif.pid \
                  -lf /tmp/dhclient.$netif.lease \