Blame 0116-network-ifup.sh-let-dhcp-client-run-in-the-backgroun.patch

Harald Hoyer bb31e7
From 93b9885a65e693d264e9199b42cf9a08b167b332 Mon Sep 17 00:00:00 2001
Harald Hoyer bb31e7
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer bb31e7
Date: Tue, 18 Aug 2015 11:53:31 +0200
Harald Hoyer bb31e7
Subject: [PATCH] network/ifup.sh: let dhcp client run in the background
Harald Hoyer bb31e7
Harald Hoyer bb31e7
we need to renew the lease
Harald Hoyer bb31e7
Harald Hoyer bb31e7
(cherry picked from commit fb2d643a385f1b02fbac6c2782b0026029c6bde7)
Harald Hoyer bb31e7
---
Harald Hoyer bb31e7
 modules.d/40network/ifup.sh | 2 +-
Harald Hoyer bb31e7
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer bb31e7
Harald Hoyer bb31e7
diff --git a/modules.d/40network/ifup.sh b/modules.d/40network/ifup.sh
Harald Hoyer bb31e7
index bb20afe..ceb5f5c 100755
Harald Hoyer bb31e7
--- a/modules.d/40network/ifup.sh
Harald Hoyer bb31e7
+++ b/modules.d/40network/ifup.sh
Harald Hoyer bb31e7
@@ -109,7 +109,7 @@ do_dhcp() {
Harald Hoyer bb31e7
         info "Starting dhcp for interface $netif"
Harald Hoyer bb31e7
         dhclient "$@" \
Harald Hoyer bb31e7
                  ${_timeout:+-timeout $_timeout} \
Harald Hoyer bb31e7
-                 -1 -q \
Harald Hoyer bb31e7
+                 -q \
Harald Hoyer bb31e7
                  -cf /etc/dhclient.conf \
Harald Hoyer bb31e7
                  -pf /tmp/dhclient.$netif.pid \
Harald Hoyer bb31e7
                  -lf /tmp/dhclient.$netif.lease \