From deef2990726cc236c3cab7b042c4ef9cac02bffc Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Sun, 4 Jun 2023 11:34:24 -0700 Subject: [PATCH] updated Update_Sovran_SystemsOS.sh --- .../Updater Source Files/Update_Sovran_SystemsOS.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh index 9b7f70d..55dc20d 100755 --- a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh +++ b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh @@ -14,9 +14,9 @@ if [[ $? -eq 1 ]]; then else -id=$(curl ifconfig.me || ifdata -pa enp2s0 || ifdata -pa wlp1s0) +#id=$(curl ifconfig.me) -ssh -i /home/free/.ssh/sovranpro_login root@${id} 'cd /etc/nixos; nix flake update' +ssh -i /home/free/.ssh/sovranpro_login root@192.168.1.32 'cd /etc/nixos; nix flake update' if [[ $? != 0 ]]; then echo "Could not update flake -- exiting" | @@ -28,7 +28,7 @@ if [[ $? != 0 ]]; then exit 1 fi -ssh -i /home/free/.ssh/sovranpro_login root@${id} "nixos-rebuild switch --impure" | +ssh -i /home/free/.ssh/sovranpro_login root@192.168.1.32 "nixos-rebuild switch --impure" | zenity --progress \ --no-cancel \ --auto-close \