updated master script
This commit is contained in:
parent
3dd1d43bab
commit
b9fae52ec5
@ -22,19 +22,20 @@ 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 [ -e $FILE ]; then
|
||||
|
||||
zenity --error \
|
||||
zenity --info \
|
||||
--ellipsize \
|
||||
--no-wrap \
|
||||
--width=250 \
|
||||
--title="Sovran_SystemsOS_Reseter" \
|
||||
--text="Will Not Start, Already Completed"
|
||||
--text="Already Completed"
|
||||
|
||||
exit 1
|
||||
|
||||
else
|
||||
fi
|
||||
|
||||
|
||||
#### Initial Reseter Tag ####
|
||||
@ -107,30 +108,6 @@ FILE=$(/var/lib/beacons/reseter/completed)
|
||||
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 ####
|
||||
|
||||
### Make Backup Directory ####
|
||||
|
Loading…
Reference in New Issue
Block a user