summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Santos <casantos@datacom.ind.br>2018-04-15 23:29:25 -0300
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-16 07:34:41 +0200
commit1371504a0a13ee96b25c39a711bb6638e0c1544e (patch)
treeb29c3413e491a3898eb5f244f62626375ec0dc7e
parent6246ea7d14809cab4e0737f07f43fd026e2d008c (diff)
downloadbuildroot-1371504a0a13ee96b25c39a711bb6638e0c1544e.tar.gz
buildroot-1371504a0a13ee96b25c39a711bb6638e0c1544e.zip
haveged: don't test if the binary exists in the init script
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@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rwxr-xr-xpackage/haveged/S21haveged2
1 files changed, 0 insertions, 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: "
OpenPOWER on IntegriCloud