2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-22 01:21:44 +00:00

fix atftpd status reporting

This commit is contained in:
mellor 2008-03-24 17:04:06 +00:00
parent 5d5fdd1206
commit e70dea946e

View File

@ -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