]> 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>
Tue, 18 Aug 2015 09:55:05 +0000 (11:55 +0200)
we need to renew the lease

modules.d/40network/ifup.sh

index 2f51e6d5b2c3b982600fea5f4275259c744859d2..ab87578e249ae232637633a4e4ffb605ee901796 100755 (executable)
@@ -114,7 +114,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 \