#!/bin/sh
#
# $FreeBSD$
#

# PROVIDE: sixxs-aiccu
# REQUIRE: NETWORKING
# KEYWORD: FreeBSD

#
# Add the following lines to /etc/rc.conf to enable sixxs-aiccu:
#
#sixxs_aiccu_enable="YES"
#

. %%RC_SUBR%%

name=sixxs_aiccu
rcvar=`set_rcvar`

command="%%PREFIX%%/sbin/sixxs-aiccu start"
command_args=%%PREFIX%%/etc/aiccu.conf
stop_cmd="%%PREFIX%%/sbin/sixxs-aiccu stop"
required_files=%%PREFIX%%/etc/aiccu.conf

# set default
sixxs_aiccu_enable=${sixxs_aiccu_enable:-"NO"}

load_rc_config ${name}
run_rc_command "$1"

