1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/comms/thebridge/files/tbd.in
2021-04-06 16:31:13 +02:00

25 lines
344 B
Bash

#!/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"