From: Sven Hoexter Date: Mon, 17 Oct 2011 10:20:56 +0000 (+0200) Subject: Replace another log_begin_msg with an echo X-Git-Tag: 1.2.0-3~6 X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fmpt-status.git;a=commitdiff_plain;h=0a170e84ae011f2da759cdca776c1e929b4ab483 Replace another log_begin_msg with an echo --- 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)