aboutsummaryrefslogtreecommitdiffstats
path: root/net/bld/files/bld.in
blob: a2a342de64eccaee5e4372ef0465c9ac726576f2 (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
28
29
30
#!/bin/sh

# PROVIDE: bld
# REQUIRE: LOGIN
# BEFORE: mail
# KEYWORD: shutdown

#
# Add the following lines to /etc/rc.conf to enable bld:
#
#bld_enable="YES"
#
# See bld(8) for flags
#

. /etc/rc.subr

name="bld"
rcvar=${name}_enable

load_rc_config $name

: ${bld_enable:-"NO"}
: ${bld_flags:-"-u bld -g bld"}

command="%%PREFIX%%/sbin/bld"
extra_commands="reload"
required_dirs=/var/run/bld

run_rc_command "$1"