-
-if test -e /etc/init.d/functions; then
- . /etc/init.d/functions
- lockfile=/var/lock/subsys/$LOCKFILE
-else
- success() { echo .; }
- passed() { echo .; }
- failure() { echo ERROR; }
- lockfile=/var/run/$LOCKFILE
-fi
-
-
-function _tellResult()
-{
- local rc=$1
- case "$rc" in
- (0) success;;
- (2) passed; rc=0;;
- (*) failure;;
- esac
- echo
- return $rc
-}