blob: 915903437ac33f0982ca77fac6e535460857d0e7 (
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: bbackupd
# REQUIRE: NETWORKING
# KEYWORD: FreeBSD shutdown
#
# Add the following line to /etc/rc.conf to enable bbackupd:
#
#bbackupd_enable="YES"
#
: ${bbackupd_enable:="NO"}
: ${bbackupd_flags:="%%PREFIX%%/etc/box/bbackupd.conf"}
: ${bbackupd_pidfile:="/var/run/bbackupd.pid"}
. %%RC_SUBR%%
name="bbackupd"
rcvar=`set_rcvar`
command="%%PREFIX%%/bin/bbackupd"
extra_commands="reload"
load_rc_config $name
run_rc_command "$1"
|