This commit is contained in:
2024-02-06 21:26:26 -06:00
parent bfe3c3e759
commit 3ec9df08b7
3 changed files with 40 additions and 40 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=('')