From e70dea946ece5febf775d02007a42b48757f160a Mon Sep 17 00:00:00 2001 From: mellor Date: Mon, 24 Mar 2008 17:04:06 +0000 Subject: [PATCH] fix atftpd status reporting --- atftp/tftpd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atftp/tftpd b/atftp/tftpd index 21eb410..e38a8b2 100755 --- a/atftp/tftpd +++ b/atftp/tftpd @@ -14,7 +14,7 @@ MStatus() { - ps ax|grep -v grep|grep atftpd: >& /dev/null + ps ax|grep -v grep|grep atftpd >& /dev/null if [ "$?" = "0" ]; then RVAL=0 echo "atftpd service is running" @@ -35,7 +35,7 @@ if [ -f /lib/lsb/init-functions ]; then elif [ -f /etc/init.d/functions ]; then . /etc/init.d/functions START_DAEMON=daemon - STATUS=status + STATUS=MStatus LOG_SUCCESS=success LOG_FAILURE=failure LOG_WARNING=passed