blob: 396344dc7f6eb5bd1ad061b15408d39acdfbb8bd (
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
26
27
|
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: bbstored
# REQUIRE: NETWORKING
# KEYWORD: FreeBSD shutdown
#
# Add the following line to /etc/rc.conf to enable bbstored:
#
#bbstored_enable="YES"
#
: ${bbstored_enable:="NO"}
: ${bbstored_flags:="%%PREFIX%%/etc/box/bbstored.conf"}
: ${bbstored_pidfile:="/var/run/bbstored.pid"}
. %%RC_SUBR%%
name="bbstored"
rcvar=`set_rcvar`
command="%%PREFIX%%/bin/bbstored"
extra_commands="reload"
load_rc_config $name
run_rc_command "$1"
|