#!/bin/sh # # $FreeBSD: head/net/miredo/files/miredo.in 340872 2014-01-24 00:14:07Z mat $ # # PROVIDE: miredo # REQUIRE: NETWORKING # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf to enable miredo: # #miredo_enable="YES" # miredo_enable="${miredo_enable-NO}" . /etc/rc.subr name=miredo rcvar=miredo_enable command=%%PREFIX%%/sbin/${name} required_files=%%PREFIX%%/etc/miredo/miredo.conf load_rc_config ${name} run_rc_command "$1"