diff options
author | tv <tv@also> | 2011-05-31 13:54:03 +0200 |
---|---|---|
committer | tv <tv@also> | 2011-05-31 13:54:03 +0200 |
commit | 8906f8901b8b4332d87d1afc76d94b4b674ed7ba (patch) | |
tree | bcd4f8cb981410bf3fe7a5eeb3693d6db8974945 /retiolum/scripts/adv_graphgen/sanitize.sh | |
parent | c14810cc9aa08c39645d794884465e5b740e30ac (diff) | |
parent | 8f3a8ad37da0d683a851a11fe6b55d0a45403b5c (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'retiolum/scripts/adv_graphgen/sanitize.sh')
-rwxr-xr-x | retiolum/scripts/adv_graphgen/sanitize.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/retiolum/scripts/adv_graphgen/sanitize.sh b/retiolum/scripts/adv_graphgen/sanitize.sh index 0e12d207..3860a9b8 100755 --- a/retiolum/scripts/adv_graphgen/sanitize.sh +++ b/retiolum/scripts/adv_graphgen/sanitize.sh @@ -1,5 +1,6 @@ GRAPH_SETTER1=dot GRAPH_SETTER2=circo +GRAPH_SETTER3=neato LOG_FILE=/var/log/everything.log OPENER=/bin/true @@ -9,5 +10,6 @@ sudo sed -n '/tinc.retiolum/{s/.*tinc.retiolum\[[0-9]*\]: //gp}' $LOG_FILE |\ $GRAPH_SETTER1 -Tpng -o $1retiolum_1.png retiolum.dot $GRAPH_SETTER2 -Tpng -o $1retiolum_2.png retiolum.dot +$GRAPH_SETTER3 -Tpng -o $1retiolum_3.png retiolum.dot $OPENER retiolum_1.png &>/dev/null #rm retiolum.dot |