[Buildroot] [git commit] bind: don't test if the binary exists in the init script

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Apr 16 05:34:33 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=f59d73426b5ead6c808ee83dd324049fb02c89aa
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/bind/S81named | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/bind/S81named b/package/bind/S81named
index bc4bb0f246..1da3008ae2 100644
--- a/package/bind/S81named
+++ b/package/bind/S81named
@@ -3,7 +3,6 @@
 CONFIG=/etc/bind/named.conf
 DAEMON=/usr/sbin/named
 
-[ -x $DAEMON ] || exit 0
 [ -f $CONFIG ] || exit 0
 
 case "$1" in


More information about the buildroot mailing list