updated master script

This commit is contained in:
naturallaw77 2023-06-17 18:52:29 -07:00
parent b9fae52ec5
commit 3e07d35312

View File

@ -40,7 +40,7 @@ FILE=/var/lib/beacons/reseter/completed
#### Initial Reseter Tag #### #### Initial Reseter Tag ####
ssh -i /home/free/.ssh/factory_login root@${ID} 'mkdir /var/lib/beacons/reseter ; touch /var/lib/beacons/reseter/started' ssh -i /home/free/.ssh/factory_login root@${ID} 'mkdir /var/lib/beacons/reseter ; touch /var/lib/beacons/reseter/started'
if [[ $? != 0 ]]; then if [[ $? != 0 ]]; then
@ -55,7 +55,7 @@ FILE=/var/lib/beacons/reseter/completed
#### Create New Log In Key For the Local Sovran Pro #### #### Create New Log In Key For the Local Sovran Pro ####
PASS=$(zenity --password --title="Please Type In A New Sovran Pro Updater Password") PASS=$(zenity --password --title="Please Type In A New Sovran Pro Updater Password")
if [[ $? -eq 1 ]]; then if [[ $? -eq 1 ]]; then
@ -90,7 +90,7 @@ FILE=/var/lib/beacons/reseter/completed
exit 1 exit 1
fi fi
fi
fi fi
rm -rf /home/free/.ssh/factory_login /home/free/.ssh/factory_login.pub rm -rf /home/free/.ssh/factory_login /home/free/.ssh/factory_login.pub