summaryrefslogtreecommitdiffstats
path: root/net/bld/files/bld.sh
blob: f0852d982d2425023c076836999ec49d313f8c2c (plain)
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
#

. %%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:-"-u bld -g bld"}

load_rc_config $name
run_rc_command "$1"
OpenPOWER on IntegriCloud