updated master script
This commit is contained in:
parent
88daaaca81
commit
f991dda894
@ -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 ####
|
||||
|
Loading…
Reference in New Issue
Block a user