xref: /OK3568_Linux_fs/buildroot/package/avahi/S50avahi-daemon (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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