From ef0b7e752177254de38873a35b0383a32857e28c Mon Sep 17 00:00:00 2001 From: Carlos Santos Date: Sun, 15 Apr 2018 23:29:26 -0300 Subject: [PATCH] modem-manager: 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. Drop the MODEMMANAGER_BIN variable, which was never initialized. Signed-off-by: Carlos Santos Signed-off-by: Thomas Petazzoni --- package/modem-manager/S44modem-manager | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/modem-manager/S44modem-manager b/package/modem-manager/S44modem-manager index cf6d89601d..a3f5003aa1 100755 --- a/package/modem-manager/S44modem-manager +++ b/package/modem-manager/S44modem-manager @@ -5,8 +5,6 @@ PIDFILE=/var/run/ModemManager.pid -[ -x $MODEMMANAGER_BIN ] || exit 0 - start() { printf "Starting ModemManager: " umask 077 -- 2.30.2