From 0a170e84ae011f2da759cdca776c1e929b4ab483 Mon Sep 17 00:00:00 2001 From: Sven Hoexter Date: Mon, 17 Oct 2011 12:20:56 +0200 Subject: [PATCH] Replace another log_begin_msg with an echo --- mpt-status.init | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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) -- 2.39.2