summaryrefslogtreecommitdiffstats
path: root/retiolum/hosts
diff options
context:
space:
mode:
authorLassulus <Lassulus@googlemail.com>2011-05-11 19:29:01 +0200
committerLassulus <Lassulus@googlemail.com>2011-05-11 19:29:01 +0200
commit473ce8748504112b73b7f37fbeade5e0ae590459 (patch)
tree533684370e523f3b531e8aa4339db36b3e843d4f /retiolum/hosts
parent8af6157ac87d5599b6baeed561c36ae1d0c1a34d (diff)
optional path now as $1
Diffstat (limited to 'retiolum/hosts')
-rwxr-xr-xretiolum/hosts/.scripts/sanitize.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/retiolum/hosts/.scripts/sanitize.sh b/retiolum/hosts/.scripts/sanitize.sh
index 4ce6ff51..88591b67 100755
--- a/retiolum/hosts/.scripts/sanitize.sh
+++ b/retiolum/hosts/.scripts/sanitize.sh
@@ -7,6 +7,7 @@ sudo pkill -USR2 tincd
sudo sed -n '/tinc.retiolum/{s/.*tinc.retiolum\[[0-9]*\]: //gp}' $LOG_FILE |\
./parse.py > retiolum.dot
-$GRAPH_SETTER1 -Tpng -o retiolum_1.png retiolum.dot
-$GRAPH_SETTER2 -Tpng -o retiolum_2.png retiolum.dot
+$GRAPH_SETTER1 -Tpng -o $1retiolum_1.png retiolum.dot
+$GRAPH_SETTER2 -Tpng -o $1retiolum_2.png retiolum.dot
$OPENER retiolum_1.png &>/dev/null
+rm retiolum.dot