make: ajustement requête blackhole pour afficher le nom de machine

This commit is contained in:
2017-12-17 15:01:30 +01:00
parent ebea0312a8
commit f7bd484863

View File

@@ -31,7 +31,7 @@ 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
-@ip route |grep blackhole |wc -l| awk '{print "Il y a "$$1" route(s) en blackhole sur";system("hostname ")}' |cowsay
show-diff-with-current:
-diff /run/current-system/configuration.nix /etc/nixos/configuration.nix