summaryrefslogtreecommitdiff
path: root/net/smcroute/files/smcrouted.in
blob: efac0aabe5a02dde3673b0e024dada8d031eb377 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

# PROVIDE: smcrouted
# REQUIRE: netif routing
# KEYWORD: nojail

#
# Add the following to /etc/rc.conf[.local] to enable this service
#
# smcrouted_enable="YES"
#

. /etc/rc.subr

name="smcrouted"
rcvar="${name}_enable"
command="%%PREFIX%%/sbin/${name}"

load_rc_config $name

: ${smcrouted_enable="NO"}
: ${smcrouted_flags=""}

run_rc_command "$1"