#!/bin/sh # # PROVIDE: inet # BEFORE: LOGIN # KEYWORD: shutdown # # Add the following line to /etc/rc.conf to enable inet/lvrouted: # # Don't enable lvrouted yet # # inet_enable="YES" # . /etc/rc.subr name=inet rcvar=`set_rcvar` command_interpreter=/bin/sh command=/usr/local/sbin/inet command_args="&" load_rc_config ${name} inet_enable=${inet_enable-"NO"} inet_pidfile=${inet_pidfile-"/var/run/inet.pid"} pidfile="${inet_pidfile}" run_rc_command "$1"