diff options
author | Sebastien Estienne <sebastien.estienne@gmail.com> | 2005-07-06 16:19:41 +0000 |
---|---|---|
committer | Sebastien Estienne <sebastien.estienne@gmail.com> | 2005-07-06 16:19:41 +0000 |
commit | b1e07e8d002b0078a3b56a22979f47bcccf73306 (patch) | |
tree | 54c84618a797828bb9a856b7785f1451a81136fe /initscript/Gentoo/avahi-daemon | |
parent | aaa1c563f5f89f3f1e333a031cf71056fdc50e5e (diff) |
renamed avahi to avahi-daemon
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@166 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'initscript/Gentoo/avahi-daemon')
-rw-r--r-- | initscript/Gentoo/avahi-daemon | 28 |
1 files changed, 28 insertions, 0 deletions
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 $? +} + |