Skip to content
Snippets Groups Projects
Commit 5d75bf82 authored by FFS-Roland's avatar FFS-Roland
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment