„nodePoller.sh“ ändern
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c03725dfac
commit
8ccb88ff72
@ -1,12 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
for i in 4 5 6
|
#for i in 4 5 6
|
||||||
do
|
#do
|
||||||
for f in meshviewer #graph nodelist nodes
|
# for f in meshviewer #graph nodelist nodes
|
||||||
do
|
# do
|
||||||
mkdir -p /opt/data/tdf$i/
|
# 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
|
# 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
|
||||||
done
|
#done
|
||||||
mkdir -p /opt/data/rifu/
|
mkdir -p /opt/data/unifi/
|
||||||
curl https://ubnt-api.freifunk-rhein-sieg.net/meshviewer.json -o /opt/data/rifu/meshviewer.json
|
curl https://ubnt-api.freifunk-rhein-sieg.net/meshviewer.json -o /opt/data/unifi/meshviewer.json
|
||||||
|
Loading…
Reference in New Issue
Block a user