aboutsummaryrefslogtreecommitdiff
path: root/comms/thebridge/files/tbd.in
blob: fccf75117699708b393ed393290211b3da27828f (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
#!/bin/sh

# PROVIDE: tbd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown

#
# Add the following lines to /etc/rc.conf to enable tbd:
#
# tbd_enable="YES"
# tbd_flags="<set as needed>"
#

tbd_enable=${tbd_enable-"NO"}

. /etc/rc.subr

name="tbd"
rcvar=tbd_enable
command="%%PREFIX%%/libexec/tbd"

load_rc_config $name
run_rc_command "$1"