diff --git a/nodePoller.sh b/nodePoller.sh index 6ee204b..31b281d 100755 --- a/nodePoller.sh +++ b/nodePoller.sh @@ -1,12 +1,12 @@ #!/bin/sh -for i in 4 5 6 -do - for f in meshviewer #graph nodelist nodes - do - mkdir -p /opt/data/tdf$i/ - curl http://$i.fftdf.de/$f.json -o /opt/data/tdf$i/$f.json || sed -i -e 's/"is_online":true/"is_online":false/g' /opt/data/tdf$i/$f.json - done -done -mkdir -p /opt/data/rifu/ -curl https://ubnt-api.freifunk-rhein-sieg.net/meshviewer.json -o /opt/data/rifu/meshviewer.json +#for i in 4 5 6 +#do +# for f in meshviewer #graph nodelist nodes +# do +# mkdir -p /opt/data/tdf$i/ +# curl http://$i.fftdf.de/$f.json -o /opt/data/tdf$i/$f.json || sed -i -e 's/"is_online":true/"is_online":false/g' /opt/data/tdf$i/$f.json +# done +#done +mkdir -p /opt/data/api/ +curl https://ubnt-api.freifunk-rhein-sieg.net/meshviewer.json -o /opt/data/api/meshviewer.json