aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmkmap.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkmap.sh b/mkmap.sh
index dd46a24..97fe040 100755
--- a/mkmap.sh
+++ b/mkmap.sh
@@ -13,5 +13,7 @@ wget -q -O json/alfred.158.json "http://vpn0.freifunk.in-kiel.de/alfred.cgi?158"
wget -q -O json/alfred.159.json "http://vpn0.freifunk.in-kiel.de/alfred.cgi?159"
wget -q -O json/batman.json "http://vpn0.freifunk.in-kiel.de/batman.cgi"
+jq -c 'with_entries(select(.value.vpn == true) | {key, value: {"vpn": .value.vpn}})' json/alfred.158.json > json/aliases.json
+
./bat2nodes.py --alfred json/alfred.158.json --aliases json/aliases.json --mesh json/batman.json -d $DEST