freebsd-ports/net/wired/files/wired.sh.in
Doug Barton 1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00

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"