blob: 7bca5de7916120d929a2f448331f0073b7b1cbe9 (
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: 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"
|