aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Carlos Santos <casantos@datacom.ind.br>2018-04-15 23:29:41 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-16 07:35:00 +0200
commit296f148c15e8eac85a41b33558d879591663b2ed (patch)
tree4e47d85303b3b46040b521f61d6b6f5354c98753 /package
parentab1184fd69990dabd4f7be4e622809a6ab2d2dcc (diff)
downloadbuildroot-296f148c15e8eac85a41b33558d879591663b2ed.tar.gz
buildroot-296f148c15e8eac85a41b33558d879591663b2ed.tar.bz2
transmission: 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>
Diffstat (limited to 'package')
-rw-r--r--package/transmission/S92transmission3
1 files changed, 0 insertions, 3 deletions
diff --git a/package/transmission/S92transmission b/package/transmission/S92transmission
index e5976b0cfb..29d7cd5863 100644
--- a/package/transmission/S92transmission
+++ b/package/transmission/S92transmission
@@ -51,9 +51,6 @@ DAEMON=$(which $NAME)
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
-# Exit if the package is not installed
-[ -x "$DAEMON" ] || exit 0
-
# Read configuration variable file if it is present
[ -r /etc/default/$NAME ] && . /etc/default/$NAME