You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
435 B
25 lines
435 B
#!/sbin/openrc-run
|
|
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
depend() {
|
|
need localmount
|
|
before net
|
|
use logger
|
|
}
|
|
|
|
command="rdnssd"
|
|
pidfile="/var/run/rdnssd.pid"
|
|
command_args="${RDNSSD_OPTS}"
|
|
command_args_foreground="-f"
|
|
|
|
start_pre() {
|
|
checkpath -d -o nobody /var/run/rdnssd
|
|
}
|
|
|
|
stop_post() {
|
|
if command -v resolvconf >/dev/null; then
|
|
resolvconf -f -d rdnssd
|
|
fi
|
|
}
|