diff options
Diffstat (limited to 'package/modem-manager/S44modem-manager')
-rwxr-xr-x | package/modem-manager/S44modem-manager | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/modem-manager/S44modem-manager b/package/modem-manager/S44modem-manager index 10e58e709b..cf6d89601d 100755 --- a/package/modem-manager/S44modem-manager +++ b/package/modem-manager/S44modem-manager @@ -8,14 +8,14 @@ PIDFILE=/var/run/ModemManager.pid [ -x $MODEMMANAGER_BIN ] || exit 0 start() { - echo -n "Starting ModemManager: " + printf "Starting ModemManager: " umask 077 start-stop-daemon -S -q -b -m -p $PIDFILE \ --exec /usr/sbin/ModemManager [ $? = 0 ] && echo "OK" || echo "FAIL" } stop() { - echo -n "Stopping ModemManager: " + printf "Stopping ModemManager: " start-stop-daemon -K -q -p $PIDFILE [ $? = 0 ] && { echo "OK"; rm -f $PIDFILE; } || echo "FAIL" } |