From: Carlos Santos Date: Mon, 16 Apr 2018 02:29:26 +0000 (-0300) Subject: modem-manager: don't test if the binary exists in the init script X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef0b7e752177254de38873a35b0383a32857e28c;p=buildroot.git 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 --- 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