updated master script

This commit is contained in:
naturallaw77 2023-06-17 17:15:39 -07:00
parent 3dd1d43bab
commit b9fae52ec5

View File

@ -22,19 +22,20 @@ else
#### Check to See If It Has Been Run Before #### #### 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 [ -e $FILE ]; then
zenity --error \ zenity --info \
--ellipsize \ --ellipsize \
--no-wrap \ --no-wrap \
--width=250 \
--title="Sovran_SystemsOS_Reseter" \ --title="Sovran_SystemsOS_Reseter" \
--text="Will Not Start, Already Completed" --text="Already Completed"
exit 1 exit 1
else fi
#### Initial Reseter Tag #### #### Initial Reseter Tag ####
@ -107,30 +108,6 @@ FILE=$(/var/lib/beacons/reseter/completed)
fi fi
#### BEGIN SCRIPT ####
zenity --progress --no-cancel --pulsate --auto-close --width=700 --title="Sovran_SystemsOS_Reseter" --text="Please Wait. Passwords Are Being Reset. This May Take Some Time..." &
if [[ $? != 0 ]]; then
zenity --error \
--ellipsize \
--no-wrap \
--title="Sovran_SystemsOS_Reseter" \
--text="Could Not Start Reset of Passwords"
exit 1
else
#### RESET KEYS FOR AGENIX #### #### RESET KEYS FOR AGENIX ####
### Make Backup Directory #### ### Make Backup Directory ####