blob: 33cf3b54df6a7b4d12b3ed1654e388eea02724ae (
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
25
|
#!/bin/sh
# PROVIDE: radvd
# REQUIRE: NETWORKING
#
# Add the following line to /etc/rc.conf to enable radvd:
#
# radvd_enable="YES"
#
. /etc/rc.subr
name=radvd
rcvar=`set_rcvar`
pidfile=/var/run/${name}.pid
command="%%PREFIX%%/sbin/${name}"
command_args="-p ${pidfile}"
required_files="%%PREFIX%%/etc/${name}.conf"
load_rc_config $name
: ${radvd_enable="NO"}
run_rc_command "$1"
|