openbsd-ports/net/avahi/pkg/avahi_dnsconfd.rc

22 lines
265 B
Plaintext
Raw Normal View History

#!/bin/sh
2010-10-29 08:54:43 -04:00
#
# $OpenBSD: avahi_dnsconfd.rc,v 1.7 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/sbin/avahi-dnsconfd -D"
. /etc/rc.d/rc.subr
2010-12-24 05:40:04 -05:00
rc_check() {
${daemon} --check
}
rc_reload() {
${daemon} --refresh
}
rc_stop() {
${daemon} --kill
}
rc_cmd $1