summaryrefslogtreecommitdiff
path: root/net/avahi/files/avahidaemon.sh
blob: f3d6b2f660f1dd2b3ad63a249cac3d801050664f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: avahidaemon.sh,v 1.2 2008/12/20 23:51:39 ahoka Exp $
#
# PROVIDE: avahidaemon
# REQUIRE: DAEMON
# KEYWORD: shutdown
#

if [ -f /etc/rc.subr ]
then
	. /etc/rc.subr
fi

name="avahidaemon"
rcvar=${name}
command="@PREFIX@/sbin/avahi-daemon"
required_files="@PKG_SYSCONFDIR@/avahi-daemon.conf"
avahidaemon_flags="-D"

load_rc_config $name
run_rc_command "$1"