# This is pretty much watered down version of the RedHat script
# that works on Solaris as well as Linux, but it won't work everywhere.
#
-# description: It comes by night and sucks the vital essence from your computers.
+# description: The Leading Open Source Backup Solution.
#
PSCMD="@PSCMD@"
if [ -f ${PIDDIR}/$base.$2.pid ] ; then
pid=`head -1 ${PIDDIR}/$base.$2.pid`
if [ "$pid" != "" ] ; then
- echo "$base dead but pid file exists"
+ echo "$base not running, but pid file exists"
return 1
fi
fi
# See if the subsys lock exists
if [ -f ${SUBSYSDIR}/$base ] ; then
- echo "$base dead but subsys locked"
+ echo "$base not running, but subsys locked"
return 2
fi
echo "$base is stopped"
rc=$?
return $rc
}
-
-