#!/bin/sh # # $FreeBSD$ # # PROVIDE: bbstored # REQUIRE: NETWORKING # KEYWORD: shutdown # # Add the following line to /etc/rc.conf to enable bbstored: # #bbstored_enable="YES" # : ${bbstored_enable:="NO"} : ${bbstored_flags:="%%PREFIX%%/etc/box/bbstored.conf"} : ${bbstored_pidfile:="/var/run/bbstored.pid"} . /etc/rc.subr name="bbstored" rcvar=`set_rcvar` command="%%PREFIX%%/bin/bbstored" extra_commands="reload" load_rc_config $name run_rc_command "$1"