Commit cb8215c8 authored by Kirk Webb's avatar Kirk Webb
Browse files

This file was omitted accidentally from the CVS tree, and is needed to start healthd on FreeBSD.

parent affd3b6b
#!/bin/sh
PREFIX=/etc/testbed
NODETYPE=`${PREFIX}/nodetype`
case "$1" in
start)
case "$NODETYPE" in
pc850)
#
# Nothing special to do
#
;;
*)
#
# Not supported
#
echo "Health monitoring not supported on nodetype: $NODETYPE"
exit 1
;;
esac
[ -x ${PREFIX}/healthd ] \
&& ${PREFIX}/healthd -f ${PREFIX}/healthd.conf -S -q -p boss 180 \
&& echo -n ' healthd'
;;
stop)
/usr/bin/killall healthd > /dev/null 2>&1 && echo -n ' healthd'
;;
reload)
/usr/bin/killall -HUP healthd > /dev/null 2>&1 && echo -n ' healthd'
;;
*)
echo ""
echo "Usage: `basename $0` { start | stop | reload }"
echo ""
exit 1
;;
esac
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment