[package] add mDNSReponder (#6102)
[openwrt/svn-archive/archive.git] / net / mdnsresponder / files / mDNSResponder.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2009 OpenWrt.org
3
4 START=60
5
6 start() {
7 /usr/sbin/mDNSResponderPosix -b -f /etc/mdns.conf
8 /usr/sbin/mdnsd
9 }
10
11 stop() {
12 killall mDNSResponderPosix 2> /dev/null
13 killall mdnsd 2> /dev/null
14 }