From 478820b8bfe28b21567eabbe95e11c1feb8f73b0 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Sat, 17 Jun 2023 13:34:30 -0700 Subject: [PATCH] updated master script --- .../Reseter Source Files/Master_Passwords_Reset.sh | 2 +- .../Reseter Source Files/Master_Passwords_Reset_Root.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 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 365cd0d..8e4cbcb 100644 --- a/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset.sh +++ b/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset.sh @@ -6,4 +6,4 @@ ID=$(curl ifconfig.me) SCRIPT=$(curl "https://https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Reseter/Reseter%20Source%20Files/Master_Passwords_Reset_Root.sh") -ssh -i /home/free/.ssh/factory_login root@${ID} 'bash ${SCRIPT}' | zenity --progress --no-cancel --pulsate --auto-close --title="Sovran_SystemsOS_Reseter" --text="Please Wait..." \ No newline at end of file +ssh -i /home/free/.ssh/factory_login root@${ID} 'bash ${SCRIPT}' | zenity --progress --no-cancel --pulsate --auto-close --width=700 --title="Sovran_SystemsOS_Reseter" --text="Please Wait Passwords Are Being Reset..." \ No newline at end of file diff --git a/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset_Root.sh b/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset_Root.sh index 4db004a..326fe21 100644 --- a/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset_Root.sh +++ b/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset_Root.sh @@ -22,9 +22,9 @@ else #### Check to See If It Has Been Run Before #### -FILE=/var/lib/beacons/reseter/completed +FILE=$(/var/lib/beacons/reseter/completed) - if [ -f "{$FILE}" ]; then + if [ -f {$FILE} ]; then zenity --error \ --ellipsize \