aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilfried Klaebe <w@chaos.in-kiel.de>2015-03-26 20:21:36 +0100
committerWilfried Klaebe <w@chaos.in-kiel.de>2015-03-26 20:21:36 +0100
commitd6397e7600b9f0f37cdd30002ac5f55d4f4d1a26 (patch)
treed2a230c16a9749401dd1511a9685c240c35ea886
parent5f4b213b24930ab948f53d05a9ea0eef6ec02afd (diff)
update aliases.json so that the graph knows who has vpn linksHEADmaster
-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