summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Santos <casantos@datacom.ind.br>2018-04-15 23:29:38 -0300
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-16 07:34:57 +0200
commit999d1a690c6dd87c01a5cb16b7dc1562db76698a (patch)
tree69e98b573da732c946ed94a2ed31888e3c045626
parente9eb40a96c70d789b7075e665183d74f371b0b86 (diff)
downloadbuildroot-999d1a690c6dd87c01a5cb16b7dc1562db76698a.tar.gz
buildroot-999d1a690c6dd87c01a5cb16b7dc1562db76698a.zip
squid: 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/squid/S97squid1
1 files changed, 0 insertions, 1 deletions
diff --git a/package/squid/S97squid b/package/squid/S97squid
index 535b1d9622..05fb93e317 100755
--- a/package/squid/S97squid
+++ b/package/squid/S97squid
@@ -1,6 +1,5 @@
#!/bin/sh
-[ -x /usr/sbin/squid ] || exit 0
[ -f /etc/squid.conf ] || exit 0
case "$1" in
OpenPOWER on IntegriCloud