diff options
author | makefu <root@pigstarter.de> | 2015-09-09 14:41:38 +0200 |
---|---|---|
committer | makefu <root@pigstarter.de> | 2015-09-09 14:41:38 +0200 |
commit | 05bf2c8be209e619f8c9e727fd1353198b042642 (patch) | |
tree | 4f7a9439137fe78f979b235666a3533f9e249eca /retiolum/scripts/adv_graphgen/scripts/all-the-graphs | |
parent | e9e7d6baf986488c43d418887f6cf95f5d896189 (diff) |
begin packaging of tinc_stats
Diffstat (limited to 'retiolum/scripts/adv_graphgen/scripts/all-the-graphs')
-rwxr-xr-x | retiolum/scripts/adv_graphgen/scripts/all-the-graphs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/retiolum/scripts/adv_graphgen/scripts/all-the-graphs b/retiolum/scripts/adv_graphgen/scripts/all-the-graphs new file mode 100755 index 00000000..3368d145 --- /dev/null +++ b/retiolum/scripts/adv_graphgen/scripts/all-the-graphs @@ -0,0 +1,13 @@ +#!/bin/bash + +EXTERNAL_FOLDER=${EXTERNAL_FOLDER:-/var/www/euer.krebsco.de/graphs/retiolum} +INTERNAL_FOLDER=${INTERNAL_FOLDER:-/var/www/euer/graphs/retiolum} +GEOCTIYDB="${GEOCITYDB:-}" + +if test -n "$GEOCITYDB";then + # creates a marker file + # TODO: copy map.html from + tinc-stats2json | add-geodata > "$INTERNAL_FOLDER/marker.json" +fi +build-graphs anonymous "$EXTERNAL_FOLDER" +build-graphs complete "$INTERNAL_FOLDER" |