#!/bin/sh # /usr/local/etc/rc.d/poudboot # # REQUIRE: FILESYSTEM kld # PROVIDE: poudboot # AFTER: netif . /etc/rc.subr name=poudboot rcvar=${name}_enable start_cmd="${name}_start" stop_cmd="${name}_stop" load_rc_config $name poudboot_start() { /usr/local/bin/poudboot start } poudboot_stop() { /usr/local/bin/poudboot stop } run_rc_command "$1"