From 4289a62f239ba3574dd5061902b3e65708005247 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Fri, 14 Oct 2022 08:40:33 +0200 Subject: [PATCH] Remove unused code --- scripts/remote_switch.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/remote_switch.sh b/scripts/remote_switch.sh index eff2862..14ed4a4 100755 --- a/scripts/remote_switch.sh +++ b/scripts/remote_switch.sh @@ -20,9 +20,6 @@ do fqdn="$host.2li.local" echo $fqdn nixos-rebuild switch -j auto --use-remote-sudo --build-host localhost --target-host $fqdn --flake ".#$host" - if [ $host == "nixos-management" ]; then - continue - fi echo "reboot $fqdn" ssh -i $rsa_key $fqdn 'sudo reboot' echo