diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-09-07 21:16:20 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-09-07 21:16:20 +0000 |
commit | 09b102d429c483d92d269622e2ce748e69abf5f9 (patch) | |
tree | c8336f623bf86605a8a181d76bc35b7d432e9fe3 /initscript/suse/avahi-daemon | |
parent | 1faa5fc6cebd81807120c3d419e9c734172f196a (diff) |
add suse init scripts
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@527 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'initscript/suse/avahi-daemon')
-rw-r--r-- | initscript/suse/avahi-daemon | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/initscript/suse/avahi-daemon b/initscript/suse/avahi-daemon deleted file mode 100644 index 59bd0c9..0000000 --- a/initscript/suse/avahi-daemon +++ /dev/null @@ -1,47 +0,0 @@ -#! /bin/sh -### BEGIN INIT INFO -# Provides: avahi -# Required-Start: $network dbus -# Default-Start: 3 5 -# Default-Stop: -# Description: Avahi, a ZeroConf daemon for mDNS and service registration -### END INIT INFO - -AVAHI_BIN=/usr/bin/avahi-daemon -test -x $AVAHI_BIN || exit 5 - -. /etc/rc.status -rc_reset - -case "$1" in - start) - echo -n "Starting Avahi daemon" - startproc $AVAHI_BIN -D - rc_status -v - ;; - stop) - echo -n "Shutting down Avahi daemon" - killproc -TERM $AVAHI_BIN - rc_status -v - ;; - restart) - $0 stop - $0 start - rc_status - ;; - force-reload|reload) - echo -n "Reloading Avahi daemon" - killproc -HUP $AVAHI_BIN - rc_status -v - ;; - status) - echo -n "Checking for Avahi daemon: " - checkproc $AVAHI_BIN - rc_status -v - ;; - *) - echo "Usage: $0 {start|stop|status|restart|force-reload|reload}" - exit 1 - ;; -esac - |