Harald Hoyer 3610a1
From cd0305cee0f74e82b6cff70782cd99dd56103835 Mon Sep 17 00:00:00 2001
Harald Hoyer 3610a1
From: Harald Hoyer <harald@hoyer.xyz>
Harald Hoyer 3610a1
Date: Tue, 12 Dec 2017 10:22:41 +0100
Harald Hoyer 3610a1
Subject: [PATCH] Merge pull request #312 from jnbr/network
Harald Hoyer 3610a1
Harald Hoyer 3610a1
40network: install grep
Harald Hoyer 3610a1
---
Harald Hoyer 3610a1
 modules.d/40network/module-setup.sh | 4 ++--
Harald Hoyer 3610a1
 1 file changed, 2 insertions(+), 2 deletions(-)
Harald Hoyer 3610a1
Harald Hoyer 3610a1
diff --git a/modules.d/40network/module-setup.sh b/modules.d/40network/module-setup.sh
Harald Hoyer 3610a1
index 2dd169e2..a1010911 100755
Harald Hoyer 3610a1
--- a/modules.d/40network/module-setup.sh
Harald Hoyer 3610a1
+++ b/modules.d/40network/module-setup.sh
Harald Hoyer 3610a1
@@ -4,7 +4,7 @@
Harald Hoyer 3610a1
 check() {
Harald Hoyer 3610a1
     local _program
Harald Hoyer 3610a1
 
Harald Hoyer 3610a1
-    require_binaries ip dhclient || return 1
Harald Hoyer 3610a1
+    require_binaries ip dhclient sed awk grep || return 1
Harald Hoyer 3610a1
     require_any_binary arping arping2 || return 1
Harald Hoyer 3610a1
 
Harald Hoyer 3610a1
     return 255
Harald Hoyer 3610a1
@@ -24,7 +24,7 @@ installkernel() {
Harald Hoyer 3610a1
 # called by dracut
Harald Hoyer 3610a1
 install() {
Harald Hoyer 3610a1
     local _arch _i _dir
Harald Hoyer 3610a1
-    inst_multiple ip dhclient sed awk
Harald Hoyer 3610a1
+    inst_multiple ip dhclient sed awk grep
Harald Hoyer 3610a1
 
Harald Hoyer 3610a1
     inst_multiple -o arping arping2
Harald Hoyer 3610a1
     strstr "$(arping 2>&1)" "ARPing 2" && mv "$initdir/bin/arping" "$initdir/bin/arping2"
Harald Hoyer 3610a1