summaryrefslogtreecommitdiffstats
path: root/net/miredo/files/miredo_server.in
blob: 605e82f25e2ee2588595f6b60bfc4e01b584048e (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_server
# REQUIRE: NETWORKING
# KEYWORD: shutdown

#
# Add the following lines to /etc/rc.conf to enable miredo-server:
#
#miredo_server_enable="YES"
#
miredo_server_enable="${miredo_server_enable-NO}"

. /etc/rc.subr

name=miredo_server
rcvar=miredo_server_enable

command=%%PREFIX%%/sbin/${name}
required_files=%%PREFIX%%/etc/miredo/miredo-server.conf

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