summaryrefslogtreecommitdiff
path: root/net/olsrd/files/olsrd.in
blob: b84f777bf93a86f1b12357f3d6436d7e09762aaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# PROVIDE: olsrd
# REQUIRE: NETWORKING SERVERS

. /etc/rc.subr

name="olsrd"
rcvar=olsrd_enable

command=%%PREFIX%%/sbin/olsrd
command_args="-d 0"

olsrd_enable=${olsrd_enable:-"NO"}

load_rc_config $name
run_rc_command "$1"