#!/bin/sh
#
#
# PROVIDE: thermd
# REQUIRE: DAEMON
#
# Add the following line to /etc/rc.conf to enable thermd:
#
# thermd_enable="YES"
#

. /etc/rc.subr

name="thermd"
rcvar=`set_rcvar`

load_rc_config ${name}
: ${thermd_enable="NO"}
: ${thermd_pidfile="/var/run/${name}.pid"}
: ${thermd_conffile="/etc/${name}.conf"}

command="/usr/local/bin/thermd"
command_args="-daemon -config ${thermd_conffile}"

run_rc_command "$1"

