mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
25 lines
344 B
Bash
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"
|