From be47e7c2859c733b1c43d79dff66c0718d1e40ee Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Mon, 28 Nov 2016 20:27:24 +0100 Subject: [PATCH] make: ajout commandes rapides pour tinc --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index ef21cd4..c5b7c54 100644 --- a/Makefile +++ b/Makefile @@ -74,3 +74,12 @@ tmpfs-umount: tmpfs-destroy: tmpfs-umount rmdir /mnt/tmpfs +##--------- Tinc + +tinc: tinc-generate-graph tinc-show-graph + +tinc-generate-graph: + tinc --pidfile=/run/tinc.grudunet.pid dump graph |dot -Tpdf -o /tmp/grudu.pdf + +tinc-show-graph: + qpdfview /tmp/grudu.pdf