Commit 5d75bf82 authored by FFS-Roland's avatar FFS-Roland

Modification for use with LEDE: local DNS-Forwarder format = ::1#54 (without...

Modification for use with LEDE: local DNS-Forwarder format = ::1#54 (without square brackets, and hash instead of percent)
parent 27d04c06
......@@ -15,7 +15,7 @@ fi
NODEID=$(uci get network.bat0.macaddr | sed 's/://g')
PUBKEY=$(/etc/init.d/fastd show_key mesh_vpn | cut -c1-12)
SEGINFO=$(nslookup ffs-${NODEID}-${PUBKEY}.segassign.freifunk-stuttgart.de [::1]:54 | grep "2001:2:0:711::")
SEGINFO=$(nslookup ffs-${NODEID}-${PUBKEY}.segassign.freifunk-stuttgart.de ::1#54 | grep "2001:2:0:711::")
if [ -z "$SEGINFO" ]; then
logger -t $ME "Node not registered"
exit 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment