From f991dda894ad5f848cbfd58c80586c4eb38b9e62 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Sat, 17 Jun 2023 12:21:21 -0700 Subject: [PATCH] updated master script --- .../Reseter Source Files/Master_Passwords_Reset.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset.sh b/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset.sh index b2cb21b..a9e8967 100644 --- a/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset.sh +++ b/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset.sh @@ -22,7 +22,7 @@ else #### Check to See If It Has Been Run Before #### -FILE=/var/lib/beacons/reseter/started +FILE=/var/lib/beacons/reseter/completed if [ -f "{$FILE}" ]; then @@ -460,9 +460,6 @@ rm -rf /var/lib/lightning-loop /var/lib/lightning-pool /var/lib/lnd echo -n $(pwgen -s 33 -1) > /etc/nix-bitcoin-secrets/rtl-password -nixos-rebuild switch --impure - - EOF if [[ $? != 0 ]]; then @@ -476,6 +473,10 @@ zenity --error \ exit 1 fi +#### NixOS Rebuild Switch #### +\ +ssh -i /home/free/.ssh/sovranpro_login root@${ID} 'nixos-rebuild switch --impure' + #### FINAL RESETER TAG ####