From 78c4d691610a48ac2c2f12172ae24c3d096b415e Mon Sep 17 00:00:00 2001 From: Trent Lloyd Date: Tue, 23 Aug 2005 08:39:01 +0000 Subject: * generate initscript/archlinux/Makefile * Fix archlinux CFLAG err, fix. * Rename the initscript dirs to all lowercase. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@407 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- initscript/gentoo/avahi-daemon | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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..8b3a359 --- /dev/null +++ b/initscript/gentoo/avahi-daemon @@ -0,0 +1,30 @@ +#!/sbin/runscript +# Avahi ZeroConf Daemon init script +# Many thanks to the Avahi developer's and Sebastien Estienne +# Author: Steev Klimaszewski + +DAEMON=/usr/bin/avahi-daemon + +depend () { + need net + use 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