[Buildroot] [PATCH 05/26] dnsmasq: don't test if the binary exists in the init script
Carlos Santos
casantos at datacom.ind.br
Mon Apr 16 02:29:23 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/dnsmasq/S80dnsmasq | 1 -
1 file changed, 1 deletion(-)
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
--
2.14.3
More information about the buildroot
mailing list