tinyhttpd: 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>
This commit is contained in:
Carlos Santos 2018-04-15 23:29:39 -03:00 committed by Thomas Petazzoni
parent 999d1a690c
commit c48924cfbb

View File

@ -3,7 +3,6 @@
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
NAME=tinyhttpd NAME=tinyhttpd
test -x /usr/sbin/$NAME || exit 0
mkdir -p /var/www mkdir -p /var/www
case "$1" in case "$1" in