This commit is contained in:
2024-02-06 21:27:29 -06:00
parent 3ec9df08b7
commit 1a60f00229
3 changed files with 28 additions and 28 deletions

View File

@@ -45,12 +45,12 @@ CHECKPOWER(){
REPORT=0
while [ $# -gt 0 ]; do
case "$1" in
-a,-avg) avgdays=${2};;
-o,-offsite) STYPE=offsite;;
-m,-mainsite) STYPE=mainsite;;
-e,-esxi) PTYPE=esxi;;
-p,-power) PTYPE=power;;
-r,-report)
-a|-avg) avgdays=${2};;
-o|-offsite) STYPE=offsite;;
-m|-mainsite) STYPE=mainsite;;
-e|-esxi) PTYPE=esxi;;
-p|-power) PTYPE=power;;
-r|-report)
REPORT=1
unset idsCL idsBG idsST
idsCL=('')