File 0604-40network-Fix-spelling-error-while-parsing-and-addin.patch of Package dracut.13287
From 3a067da52b7427b067db5c6ed7c320c08e9d4f29 Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <dmolkentin@suse.com>
Date: Tue, 7 May 2019 17:48:52 +0200
Subject: [PATCH 2/3] 40network: Fix spelling error while parsing and adding
routes
Amends 15f7f47f8
Reference: bsc#1134347
---
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 13564778..571d014b 100755
--- a/modules.d/40network/ifup.sh
+++ b/modules.d/40network/ifup.sh
@@ -349,7 +349,7 @@ if strglobin $ip '*:*:*'; then
[ -n "$gw" ] && echo ip route replace default via $gw dev $netif > /tmp/net.$netif.gw
- for ifroute in /etc/sysconfig/network/ifroute-${netif} /etc/sysconfig/netwrk/routes ; do
+ for ifroute in /etc/sysconfig/network/ifroute-${netif} /etc/sysconfig/network/routes ; do
[ -e ${ifroute} ] || continue
# Pull in existing routing configuration
read ifr_dest ifr_gw ifr_mask ifr_if < ${ifroute}
--
2.16.4