1d6b4b3f91
s#. %%RC_SUBR%%#. /etc/rc.subr#
27 lines
433 B
Bash
27 lines
433 B
Bash
#!/bin/sh
|
|
|
|
# PROVIDE: wired
|
|
# REQUIRE:
|
|
#
|
|
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
|
|
# to enable this service:
|
|
#
|
|
# wired_enable (bool): Set to NO by default.
|
|
# Set it to YES to enable wired.
|
|
#
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="wired"
|
|
rcvar=${name}_enable
|
|
|
|
pidfile=%%PREFIX%%/wired/wired.pid
|
|
command=%%PREFIX%%/sbin/${name}
|
|
|
|
load_rc_config $name
|
|
|
|
: ${wired_enable="NO"}
|
|
|
|
command_args=""
|
|
|
|
run_rc_command "$1"
|