]> git.sven.stormbind.net Git - sven/mpt-status.git/commitdiff
Replace another log_begin_msg with an echo
authorSven Hoexter <sven@timegate.de>
Mon, 17 Oct 2011 10:20:56 +0000 (12:20 +0200)
committerSven Hoexter <sven@timegate.de>
Mon, 17 Oct 2011 10:31:41 +0000 (12:31 +0200)
mpt-status.init

index 65b2e79bdccc9986b43e77b5aebf86a53adc36da..f9366ffef58d8dc3419ac414f3fc7ca8506d274a 100644 (file)
@@ -47,10 +47,10 @@ if [ $RUN_DAEMON = "no" ] ; then
        exit 0
 fi
 
-#if ! [ -e "/proc/mpt/version" ] ; then
-#      log_failure_msg "The mptctl module is missing."
-#      exit 0
-#fi
+if ! [ -e "/proc/mpt/version" ] ; then
+       log_failure_msg "The mptctl module is missing."
+       exit 0
+fi
 
 check_mpt() {
     echo $$ > $PIDFILE.new && mv $PIDFILE.new $PIDFILE
@@ -175,7 +175,7 @@ case "$1" in
         d_start
         ;;
   stop)
-        log_begin_msg "Stopping $DESC: $NAME"
+        echo -n $"Stopping $DESC: $NAME"
         d_stop
         ;;
   check_mpt)