git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
eff539f
)
contrib/freifunk-common: Check for ipv6 availability in neigh.sh
author
Manuel Munz
<redacted>
Thu, 28 Mar 2013 23:25:02 +0000
(23:25 +0000)
committer
Manuel Munz
<redacted>
Thu, 28 Mar 2013 23:25:02 +0000
(23:25 +0000)
contrib/package/freifunk-common/files/usr/bin/neigh.sh
patch
|
blob
|
history
diff --git
a/contrib/package/freifunk-common/files/usr/bin/neigh.sh
b/contrib/package/freifunk-common/files/usr/bin/neigh.sh
index eee9cd3b44327b2f93dd390afa0826eead983149..ec53a5850f2353be10847ee36591db161b60ae66 100755
(executable)
--- 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./'
git clone https://git.99rst.org/PROJECT