#!/bin/sh
#
# $FreeBSD: ports/mail/whoson/files/whoson.in,v 1.2 2012/11/17 05:59:17 svnexp Exp $
#

# PROVIDE: whoson
# REQUIRE: NETWORKING
# KEYWORD: shutdown

#
# Add the following lines to /etc/rc.conf to enable frox:
#
#whosond="YES"
#

. /etc/rc.subr

name=whosond
rcvar=whosond_enable

command=/usr/local/sbin/${name}
required_files=/usr/local/etc/whoson.conf

# set defaults

whosond_enable=${whosond_enable:-"NO"}

load_rc_config $name
run_rc_command "$1"
