From db912bbc3b675236ea08cce148116d633a5137dd Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Sun, 26 Nov 2017 22:20:30 +0100 Subject: [PATCH] =?UTF-8?q?make:=20ajout=20cible=20show-blackholed=20pour?= =?UTF-8?q?=20facilement=20voir=20le=20nombre=20d'IP=20blackhol=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index d59e4fa..e941b9b 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,9 @@ rebuild-build: rebuild-switch: $(TIME) time nixos-rebuild switch --fallback --show-trace +show-blackholed: + -ip route |grep blackhole |wc -l| awk '{print "Il y a "$$1" route(s) en blackhole"}' |cowsay + show-diff-with-current: -diff /run/current-system/configuration.nix /etc/nixos/configuration.nix