X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fmpt-status.git;a=blobdiff_plain;f=mpt-status.init;fp=mpt-status.init;h=f9366ffef58d8dc3419ac414f3fc7ca8506d274a;hp=65b2e79bdccc9986b43e77b5aebf86a53adc36da;hb=0a170e84ae011f2da759cdca776c1e929b4ab483;hpb=b417e89bc0b10bef788620ed0a86d9edd896da39 diff --git a/mpt-status.init b/mpt-status.init index 65b2e79..f9366ff 100644 --- a/mpt-status.init +++ b/mpt-status.init @@ -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)