summaryrefslogtreecommitdiffstats
path: root/net/miredo/files/miredo.in
blob: ebdda40eced3cf9fac3bba15bfda02925e062c4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
#
# $FreeBSD$
#

# 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=%%PREFIX%%/sbin/${name}
required_files=%%PREFIX%%/etc/miredo/miredo.conf

load_rc_config ${name}
run_rc_command "$1"
OpenPOWER on IntegriCloud