summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Santos <casantos@datacom.ind.br>2018-04-15 23:29:19 -0300
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-16 07:34:33 +0200
commitf59d73426b5ead6c808ee83dd324049fb02c89aa (patch)
tree84e6d9f635c06c912c05f8b4e29eb462d9772744
parent83781f11dce6d4ef8da052253454cafcbec80dbe (diff)
downloadbuildroot-f59d73426b5ead6c808ee83dd324049fb02c89aa.tar.gz
buildroot-f59d73426b5ead6c808ee83dd324049fb02c89aa.zip
bind: 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>
-rw-r--r--package/bind/S81named1
1 files changed, 0 insertions, 1 deletions
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
OpenPOWER on IntegriCloud