2019-11-04 21:27:41 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
for i in 4 5 6 7
|
|
|
|
do
|
|
|
|
for f in meshviewer #graph nodelist nodes
|
|
|
|
do
|
|
|
|
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
|
2019-11-04 21:32:17 +00:00
|
|
|
done
|