summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Santos <casantos@datacom.ind.br>2018-04-15 23:29:23 -0300
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-16 07:34:38 +0200
commitc6cb9b6cb9220bb71a51a4d34c0657db64268159 (patch)
treed9f8dc9963fe17c6a7a536d1c1ee0fbb9c80c304
parente72bb38b9db3d9384398455c1a8e2dcf30140263 (diff)
downloadbuildroot-c6cb9b6cb9220bb71a51a4d34c0657db64268159.tar.gz
buildroot-c6cb9b6cb9220bb71a51a4d34c0657db64268159.zip
dnsmasq: 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/dnsmasq/S80dnsmasq1
1 files changed, 0 insertions, 1 deletions
diff --git a/package/dnsmasq/S80dnsmasq b/package/dnsmasq/S80dnsmasq
index d2f8b0f6b4..b052259e87 100755
--- a/package/dnsmasq/S80dnsmasq
+++ b/package/dnsmasq/S80dnsmasq
@@ -1,6 +1,5 @@
#!/bin/sh
-[ -x /usr/sbin/dnsmasq ] || exit 0
[ -f /etc/dnsmasq.conf ] || exit 0
case "$1" in
OpenPOWER on IntegriCloud