aboutsummaryrefslogtreecommitdiffstats
path: root/net/bld/files/bld.sh
blob: b0371b5de11b2d2c90ad6de5d2f874b5efd03d79 (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: FreeBSD shutdown

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

. %%RC_SUBR%%

name=bld
rcvar=`set_rcvar`

command=%%PREFIX%%/sbin/bld
required_dirs=/var/run/bld

# set defaults

bld_enable=${bld_enable:-"NO"}
bld_flags=${bld_flags:-""}

load_rc_config $name
run_rc_command "$1"