#!/bin/sh # # PROVIDE: noip2 # REQUIRE: LOGIN # KEYWORD: shutdown # Add the following lines to /etc/rc.conf to enable noip2: # noip2_enable (bool): Set to "NO" by default. # noip2_enable=${noip2_enable-"NO"} . /etc/rc.subr name="noip2" rcvar=`set_rcvar` command="/usr/local/bin/noip2" load_rc_config $name ### start_cmd="echo \"Starting ${name}.\"; /usr/bin/nice -5 ${command}" start_cmd="echo \"Starting ${name}.\"; ${command}" run_rc_command "$1"