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

nixos-19.09
Jean-Pierre PRUNARET 8 years ago
parent ebea0312a8
commit f7bd484863

@ -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

Loading…
Cancel
Save