mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
9aac569eaa
Where necessary add $FreeBSD$ to the file No PORTREVISION bump necessary because this is a no-op
28 lines
428 B
Bash
28 lines
428 B
Bash
#!/bin/sh
|
|
|
|
# $FreeBSD$
|
|
#
|
|
# 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=wired_enable
|
|
|
|
pidfile=%%PREFIX%%/wired/wired.pid
|
|
command=%%PREFIX%%/sbin/${name}
|
|
|
|
load_rc_config $name
|
|
|
|
: ${wired_enable="NO"}
|
|
|
|
run_rc_command "$1"
|