]> git.sven.stormbind.net Git - sven/mpt-status.git/blobdiff - mpt-status.init
Add author and remove some cruft
[sven/mpt-status.git] / mpt-status.init
index 5209872c8f779c5b6fc2a795855a09accc7cf0ea..7e72bb0b5acc17aeb380253923c60a9a5454413d 100644 (file)
@@ -1,6 +1,7 @@
 #! /bin/sh
 
 # Author: Petter Reinholdtsen <pere@hungry.com>
+# Author: Sven Hoexter <sven@timegate.de>
 # License: GNU General Public License v2 or later
 
 # mpt-statusd - Check mpt-status values in the background.
@@ -165,7 +166,7 @@ d_stop() {
 # therefore can be used by a restart
 d_stop_by_restart() {
         if [ -f $PIDFILE ] ; then
-                killproc -p $PIDFILE $SCRIPTNAME > /dev/null 2>&1 
+                killproc -p $PIDFILE $SCRIPTNAME > /dev/null 2>&1
                 rm -f $PIDFILE
         else
                 log_warning_msg "Daemon is already stopped."
@@ -174,7 +175,6 @@ d_stop_by_restart() {
 
 case "$1" in
   start)
-        echo -n ""
         echo -n $"Starting $DESC: $NAME"
         d_start
         ;;