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