blob: e4352114888bd3310cd7725b4699408966fc52c0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
# PROVIDE: coovachilli
# REQUIRE: netif
# BEFORE: pf ipfw
# KEYWORD: nojail
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# coovachilli_enable (bool): Set to NO by default.
# Set it to YES to enable coova-chilli.
. %%RC_SUBR%%
name=coovachilli
rcvar=coovachilli_enable
command=%%PREFIX%%/sbin/chilli
pidfile=/var/run/chilli.pid
load_rc_config $name
run_rc_command "$1"
|