#!/bin/sh | |
# | |
# avahi-daemon init script | |
case "$1" in | |
start) | |
babysit 60 avahi-daemon 2>&1 | logos avahi & | |
;; | |
stop) | |
avahi-daemon -c && avahi-daemon -k | |
;; | |
reload) | |
avahi-daemon -c && avahi-daemon -r | |
;; | |
*) | |
echo "Usage: S50avahi-daemon {start|stop|reload}" >&2 | |
exit 1 | |
;; | |
esac |