diff options
Diffstat (limited to 'initscript/Gentoo/avahi')
-rw-r--r-- | initscript/Gentoo/avahi | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/initscript/Gentoo/avahi b/initscript/Gentoo/avahi new file mode 100644 index 0000000..a37c965 --- /dev/null +++ b/initscript/Gentoo/avahi @@ -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 + +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 $? +} + |