1#!/bin/sh 2# 3# avahi-daemon init script 4 5DAEMON=/usr/sbin/avahi-daemon 6case "$1" in 7 start) 8 $DAEMON -c || $DAEMON -D 9 ;; 10 stop) 11 $DAEMON -c && $DAEMON -k 12 ;; 13 reload) 14 $DAEMON -c && $DAEMON -r 15 ;; 16 *) 17 echo "Usage: S50avahi-daemon {start|stop|reload}" >&2 18 exit 1 19 ;; 20esac 21