summaryrefslogtreecommitdiffstats
path: root/package/avahi/S50avahi-daemon
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2007-05-09 13:38:37 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2007-05-09 13:38:37 +0000
commit24cb67ca98a060adcf38eb4b56012fdf98198fe1 (patch)
tree300d656527219cefe4f00a062e84c5a01cb4bc3c /package/avahi/S50avahi-daemon
parent39b88e3691017d7ea44211dad98f316480d4676a (diff)
downloadbuildroot-novena-24cb67ca98a060adcf38eb4b56012fdf98198fe1.tar.gz
buildroot-novena-24cb67ca98a060adcf38eb4b56012fdf98198fe1.zip
avahi-daemon support
Diffstat (limited to 'package/avahi/S50avahi-daemon')
-rw-r--r--package/avahi/S50avahi-daemon20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/avahi/S50avahi-daemon b/package/avahi/S50avahi-daemon
new file mode 100644
index 000000000..81ac51316
--- /dev/null
+++ b/package/avahi/S50avahi-daemon
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# avahi-daemon init script
+
+DAEMON=/usr/sbin/avahi-daemon
+case "$1" in
+ start)
+ $DAEMON -c || $DAEMON -D
+ ;;
+ stop)
+ $DAEMON -c && $DAEMON -k
+ ;;
+ reload)
+ $DAEMON -c && $DAEMON -r
+ ;;
+ *)
+ echo "Usage: S50avahi-daemon {start|stop|reload}" >&2
+ exit 1
+ ;;
+esac