We have not checked for this KEYWORD for a long time now, so this is a complete noop, and thus no PORTREVISION bump. Removing it at this point is mostly for pedantic reasons, and partly to avoid perpetuating this anachronism by copy and paste to future scripts.
27 lines
460 B
Bash
27 lines
460 B
Bash
#!/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"
|