[Buildroot] [PATCH 07/26] haveged: don't test if the binary exists in the init script

Carlos Santos casantos at datacom.ind.br
Mon Apr 16 02:29:25 UTC 2018


The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos at datacom.ind.br>
---
 package/haveged/S21haveged | 2 --
 1 file changed, 2 deletions(-)

diff --git a/package/haveged/S21haveged b/package/haveged/S21haveged
index 3e6ce8678f..4b6e6ced4e 100755
--- a/package/haveged/S21haveged
+++ b/package/haveged/S21haveged
@@ -1,7 +1,5 @@
 #!/bin/sh
 
-[ -x /usr/sbin/haveged ] || exit 0
-
 case "$1" in
 	start)
 		printf "Starting haveged: "
-- 
2.14.3




More information about the buildroot mailing list