diff --exclude CVS --exclude .git -uNr avahi-0.6.30/avahi-autoipd/avahi-autoipd.action.linux avahi-0.6.30.modified/avahi-autoipd/avahi-autoipd.action.linux --- avahi-0.6.30/avahi-autoipd/avahi-autoipd.action.linux 2010-06-28 20:30:33.000000000 -0700 +++ avahi-0.6.30.modified/avahi-autoipd/avahi-autoipd.action.linux 2012-03-06 19:48:00.651375062 -0800 @@ -35,7 +35,10 @@ METRIC=$((1000 + `cat "/sys/class/net/$2/ifindex" 2>/dev/null || echo 0`)) -if [ -x /bin/ip -o -x /sbin/ip ] ; then +IP_EXISTS=`[ -e /bin/ip -o -e /sbin/ip ] && echo y` +IP_IS_BUSYBOX=`busybox ip route >/dev/null 2>&1 && echo y` + +if [ "$IP_EXISTS" = "y" -a "$IP_IS_BUSYBOX" != "y" ] ; then # We have the Linux ip tool from the iproute package