]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
call netroot on wicked dhcp setup
authorThomas Blume <thomas.blume@suse.com>
Thu, 4 Jul 2019 07:10:30 +0000 (09:10 +0200)
committerDaniel Molkentin <daniel@molkentin.de>
Thu, 18 Jul 2019 22:24:15 +0000 (00:24 +0200)
modules.d/35network-legacy/ifup.sh

index b4f5bf106c65751f269bf33f39b9107cff24d80f..5331c4617b23033a8c384db656eb92e0140bc6d9 100755 (executable)
@@ -462,6 +462,11 @@ for p in $(getargs ip=); do
                 fi
                 ;;
         esac
+
+        if command -v wicked >/dev/null && [ -z "$manualup" ]; then
+            /sbin/netroot $netif
+        fi
+
         exit $ret
     fi
 done