|
|
fab351 |
From d20eb7b7b2a50f29ac02bd6b6d80113d495849ed Mon Sep 17 00:00:00 2001
|
|
|
fab351 |
From: Lukas Nykryn <lnykryn@redhat.com>
|
|
|
fab351 |
Date: Wed, 8 Jan 2020 16:20:29 +0100
|
|
|
fab351 |
Subject: [PATCH] network-legacy/ifup: fix typo when calling dhclient --timeout
|
|
|
fab351 |
|
|
|
fab351 |
(cherry picked from commit 212043f94dde1693d777e933945138747537f12f)
|
|
|
fab351 |
|
|
|
fab351 |
Resolves: #1787620
|
|
|
fab351 |
---
|
|
|
fab351 |
modules.d/35network-legacy/ifup.sh | 2 +-
|
|
|
fab351 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
fab351 |
|
|
|
fab351 |
diff --git a/modules.d/35network-legacy/ifup.sh b/modules.d/35network-legacy/ifup.sh
|
|
|
fab351 |
index bfb57ad5..16b950be 100755
|
|
|
fab351 |
--- a/modules.d/35network-legacy/ifup.sh
|
|
|
fab351 |
+++ b/modules.d/35network-legacy/ifup.sh
|
|
|
fab351 |
@@ -50,7 +50,7 @@ do_dhcp() {
|
|
|
fab351 |
while [ $_COUNT -lt $_DHCPRETRY ]; do
|
|
|
fab351 |
info "Starting dhcp for interface $netif"
|
|
|
fab351 |
dhclient "$@" \
|
|
|
fab351 |
- ${_timeout:+-timeout $_timeout} \
|
|
|
fab351 |
+ ${_timeout:+--timeout $_timeout} \
|
|
|
fab351 |
-q \
|
|
|
fab351 |
-1 \
|
|
|
fab351 |
-cf /etc/dhclient.conf \
|
|
|
fab351 |
|