summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-common
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2013-03-28 23:25:02 +0000
committerManuel Munz <freifunk@somakoma.de>2013-03-28 23:25:02 +0000
commit28abb7b85be42c975ae7eeb5bcc5ca09e4b5906e (patch)
treea8fe5bcd505058fa4b77f730483451c7e195ee26 /contrib/package/freifunk-common
parenteff539fe23221b00661235d93192938a1b85cb18 (diff)
contrib/freifunk-common: Check for ipv6 availability in neigh.sh
Diffstat (limited to 'contrib/package/freifunk-common')
-rwxr-xr-xcontrib/package/freifunk-common/files/usr/bin/neigh.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/package/freifunk-common/files/usr/bin/neigh.sh b/contrib/package/freifunk-common/files/usr/bin/neigh.sh
index eee9cd3b4..ec53a5850 100755
--- a/contrib/package/freifunk-common/files/usr/bin/neigh.sh
+++ b/contrib/package/freifunk-common/files/usr/bin/neigh.sh
@@ -1,4 +1,4 @@
#!/bin/sh
wget -q -O - http://localhost:2006/neighbours|sed -e's/LinkQuality/LQ/;s/Hysteresis/Hyst./;s/Willingness/Will./'
-wget -q -O - http://[::1]:2006/neighbours|sed -e's/LinkQuality/LQ/;s/Hysteresis/Hyst./;s/Willingness/Will./'
+[ -f /proc/net/ipv6_route ] && wget -q -O - http://[::1]:2006/neighbours|sed -e's/LinkQuality/LQ/;s/Hysteresis/Hyst./;s/Willingness/Will./'