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 <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:26 -03:00 committed by Thomas Petazzoni
parent 1371504a0a
commit ef0b7e7521

View File

@ -5,8 +5,6 @@
PIDFILE=/var/run/ModemManager.pid
[ -x $MODEMMANAGER_BIN ] || exit 0
start() {
printf "Starting ModemManager: "
umask 077