Imported Upstream version 20070115
[aiccu.git] / freebsd / files / sixxs-aiccu.in
blobc2d6e32cb55da05ac0d6094be71dcd394ad3ac6c
1 #!/bin/sh
3 # $FreeBSD: ports/net/sixxs-aiccu/files/sixxs-aiccu.sh,v 1.3 2006/02/20 20:47:30 dougb Exp $
6 # PROVIDE: sixxs-aiccu
7 # REQUIRE: NETWORKING
10 # Add the following lines to /etc/rc.conf to enable sixxs-aiccu:
12 #sixxs_aiccu_enable="YES"
15 . %%RC_SUBR%%
17 name=sixxs_aiccu
18 rcvar=`set_rcvar`
20 command="%%PREFIX%%/sbin/sixxs-aiccu"
21 command_args=%%PREFIX%%/etc/aiccu.conf
22 start_cmd="%%PREFIX%%/sbin/sixxs-aiccu start $command_args"
23 stop_cmd="%%PREFIX%%/sbin/sixxs-aiccu stop $command_args"
24 required_files=%%PREFIX%%/etc/aiccu.conf
26 # set default
27 sixxs_aiccu_enable=${sixxs_aiccu_enable:-"NO"}
29 load_rc_config ${name}
30 run_rc_command "$1"