]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/zeroconf/zeroconf-0.6.1/debian-zeroconf.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / zeroconf / zeroconf-0.6.1 / debian-zeroconf.patch
1 --- zeroconf-0.6.1.orig/debian-zeroconf
2 +++ zeroconf-0.6.1/debian-zeroconf
3 @@ -19,6 +19,8 @@
4  [ -f /etc/default/zeroconf ] &&
5      . /etc/default/zeroconf
6
7 +[ -n "$DISABLE" ] && exit 0
8 +
9  for BLACK in $IFBLACKLIST; do
10      case $IFACE in
11         $BLACK)
12 @@ -31,7 +33,6 @@
13  if [ -n "$FALLBACK" ]; then
14      /bin/ip addr show $IFACE scope global | grep -q "inet"
15      IP=$?
16 -    [ $IP -eq 0 ] && exit 0
17      if [ $IP -eq 0 ]; then
18          /bin/ip route add 169.254.0.0/16 dev $IFACE
19          exit 0
20 @@ -39,6 +40,6 @@
21  fi
22
23  # otherwise, we are good to go
24 -/usr/local/sbin/zeroconf -i $IFACE
25 +/usr/sbin/zeroconf -i $IFACE
26
27  exit 0
28