]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
install arping V2 as arping2
authorHarald Hoyer <harald@redhat.com>
Mon, 24 Jul 2017 08:03:42 +0000 (10:03 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 24 Jul 2017 08:03:42 +0000 (10:03 +0200)
modules.d/40network/module-setup.sh

index b3a1519e372611ebd730e9ff38d303158bc29c8a..1946da81eb33005d79e9d28442c7749bef30fcc5 100755 (executable)
@@ -25,7 +25,10 @@ installkernel() {
 install() {
     local _arch _i _dir
     inst_multiple ip dhclient sed awk
+
     inst_multiple -o arping arping2
+    strstr "$(arping)" "ARPing 2" && mv "$initdir/bin/arping" "$initdir/bin/arping2"
+
     inst_multiple -o ping ping6
     inst_multiple -o teamd teamdctl teamnl
     inst_simple /etc/libnl/classid