060ed2e622
git-svn-id: svn://svn.openwrt.org/openwrt/packages@39603 3c298f89-4303-0410-b956-a3cf2f4a3e73
6 lines
209 B
Bash
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
|