diff options
Diffstat (limited to 'net/wired/files/wired.sh.in')
-rw-r--r-- | net/wired/files/wired.sh.in | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net/wired/files/wired.sh.in b/net/wired/files/wired.sh.in new file mode 100644 index 000000000000..e902407f064b --- /dev/null +++ b/net/wired/files/wired.sh.in @@ -0,0 +1,27 @@ +#!/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. +# + +. %%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" |