File 0571-40network-Fix-static-network-setup.patch of Package dracut.10716

From a3fdbedce43956881ca01c94543b22e37d205da6 Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <dmolkentin@suse.com>
Date: Thu, 14 Jun 2018 14:18:44 +0200
Subject: [PATCH] 40network: Fix static network setup

Patch-by: Thomas Blume <tblume@suse.com>

References: bsc#1091099
---
 modules.d/40network/ifup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules.d/40network/ifup.sh b/modules.d/40network/ifup.sh
index 2d93cebd..13564778 100755
--- a/modules.d/40network/ifup.sh
+++ b/modules.d/40network/ifup.sh
@@ -275,7 +275,7 @@ do_ifcfg() {
             dhcp*)
                 do_dhcp -4 ;;
             *)
-                do_static ;;
+                ;;
         esac
         # loop over all configurations in ifcfg-$netif (IPADDR*) and apply
         for conf in ${!IPADDR@}; do
-- 
2.16.3

openSUSE Build Service is sponsored by