Import avahi from oldpackages

This commit is contained in:
Ted Hess
2014-07-16 12:28:32 -04:00
parent 483e09bdb2
commit fa8703665b
6 changed files with 462 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=61
BIN=avahi-daemon
DEFAULT=/etc/default/$BIN
OPTIONS="-D"
RUN_D=/var/run/$BIN
start() {
[ -f $DEFAULT ] && . $DEFAULT
mkdir -p $RUN_D
$BIN $OPTIONS
}
stop() {
$BIN -k
}
reload() {
$BIN -r
}