cyrus 060ed2e622 mdnsresponder: bump to 544 (thanks Markus Stenberg)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-17 13:32:56 +00:00

6 lines
209 B
Bash

#!/bin/sh
/etc/init.d/mdnsd enabled || exit 0
[ "$ACTION" = ifupdate -a -z "$IFUPDATE_ADDRESSES" ] && exit 0
logger -t mdnsd "Restarting mdnsd due to $ACTION of $INTERFACE ($DEVICE)"
/etc/init.d/mdnsd restart