diff options
Diffstat (limited to 'net/bld/files/bld.in')
-rw-r--r-- | net/bld/files/bld.in | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net/bld/files/bld.in b/net/bld/files/bld.in new file mode 100644 index 000000000000..49eeb83341c0 --- /dev/null +++ b/net/bld/files/bld.in @@ -0,0 +1,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=${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" |