blob: 802c49f860ed7396e6aabb5a633a445e47f9f6c5 (
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: rdnssd
# REQUIRE: NETWORKING
#
# Add the following line to /etc/rc.conf to enable rdnssd:
#
# rdnssd_enable="YES"
#
. /etc/rc.subr
name=rdnssd
rcvar=rdnssd_enable
pidfile=/var/run/${name}.pid
command="%%PREFIX%%/sbin/${name}"
command_args="-p ${pidfile}"
load_rc_config $name
: ${rdnssd_enable="NO"}
run_rc_command "$1"
|