]> git.ipfire.org Git - people/stevee/aiccu.git/blob - doc/aiccu.init.freebsd
Import upstream release 2007.01.15
[people/stevee/aiccu.git] / doc / aiccu.init.freebsd
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 # PROVIDE: sixxs-aiccu
7 # REQUIRE: NETWORKING
8 # KEYWORD: FreeBSD
9
10 #
11 # Add the following lines to /etc/rc.conf to enable sixxs-aiccu:
12 #
13 #sixxs_aiccu_enable="YES"
14 #
15
16 . %%RC_SUBR%%
17
18 name=sixxs_aiccu
19 rcvar=`set_rcvar`
20
21 command="%%PREFIX%%/sbin/sixxs-aiccu start"
22 command_args=%%PREFIX%%/etc/aiccu.conf
23 stop_cmd="%%PREFIX%%/sbin/sixxs-aiccu stop"
24 required_files=%%PREFIX%%/etc/aiccu.conf
25
26 # set default
27 sixxs_aiccu_enable=${sixxs_aiccu_enable:-"NO"}
28
29 load_rc_config ${name}
30 run_rc_command "$1"
31