updated master script

This commit is contained in:
naturallaw77 2023-06-17 12:21:21 -07:00
parent 88daaaca81
commit f991dda894

View File

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