From b1e07e8d002b0078a3b56a22979f47bcccf73306 Mon Sep 17 00:00:00 2001 From: Sebastien Estienne Date: Wed, 6 Jul 2005 16:19:41 +0000 Subject: renamed avahi to avahi-daemon git-svn-id: file:///home/lennart/svn/public/avahi/trunk@166 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- initscript/Gentoo/avahi-daemon | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 initscript/Gentoo/avahi-daemon (limited to 'initscript/Gentoo/avahi-daemon') diff --git a/initscript/Gentoo/avahi-daemon b/initscript/Gentoo/avahi-daemon new file mode 100644 index 0000000..532d108 --- /dev/null +++ b/initscript/Gentoo/avahi-daemon @@ -0,0 +1,28 @@ +#!/sbin/runscript +# Avahi ZeroConf Daemon init script +# Many thanks to the Avahi developer's and Sebastien Estienne + +DAEMON=/usr/bin/avahi-daemon + +depend () { + need dbus +} + +start() { + ebegin "Starting avahi" + $DAEMON -D + eend $? +} + +stop() { + ebegin "Stopping avahi" + $DAEMON -k || /bin/true + eend $? +} + +reload() { + ebegin "Reloading avahi configuration" + $DAEMON -r + eend $? +} + -- cgit