#!/bin/sh
#
# $FreeBSD: ports/net/miredo/files/miredo.in,v 1.2 2007/02/26 23:02:03 dougb Exp $
#

# 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=`set_rcvar`

command=/usr/local/sbin/${name}
required_files=/usr/local/etc/miredo.conf

load_rc_config ${name}
run_rc_command "$1"


syntax highlighted by Code2HTML, v. 0.9.1