From 8fadbe844b8b68cfe84d99c27e6904bb8672d94a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 9 Dec 2023 21:16:11 -0600 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/powerwall.sh b/powerwall.sh index 8a092bc3..16fb6791 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -2034,38 +2034,38 @@ fi ;; average) AVERAGETEMP ${2} ${3} ${4};; *) - echo -e "${idsCL[White]} Usage: ${idsCL[Yellow]}[powerwall or pw]${idsCL[LightCyan]} {option}" + echo -e "${idsCL[White]} Usage: ${idsCL[LightYellow]}[powerwall or pw]${idsCL[LightCyan]} {option}" echo echo -e " ${idsCL[LightCyan]}status ${idsCL[Default]}--> PowerWall Status Information" echo - echo -e " ${idsCL[LightCyan]}check${idsCL[LightYellow]} {type} {opts} ${idsCL[Default]}--> Check Sensors" - echo -e " ${idsCL[LightYellow]} type = { power / temp }" - echo -e " ${idsCL[LightYellow]} opts =" - echo -e " ${idsCL[LightYellow]} power { all / mainsite / offsite } ${idsCL[Default]}--> Defaults to All" - echo -e " ${idsCL[LightYellow]} temp { avg for # of days to show } ${idsCL[Default]}--> Defaults to not showing averages" + echo -e " ${idsCL[LightCyan]}check${idsCL[Yellow]} {type} {opts} ${idsCL[Default]}--> Check Sensors" + echo -e " ${idsCL[Yellow]} type = { power / temp }" + echo -e " ${idsCL[Yellow]} opts =" + echo -e " ${idsCL[Yellow]} power { all / mainsite / offsite } ${idsCL[Default]}--> Defaults to All" + echo -e " ${idsCL[Yellow]} temp { avg for # of days to show } ${idsCL[Default]}--> Defaults to not showing averages" echo - echo -e " ${idsCL[LightCyan]}host${idsCL[LightYellow]} {host} {flags} ${idsCL[Default]}--> Host Power/ESXi Control" - echo -e " ${idsCL[LightYellow]} host = {esxi-ip}, {idrac-ip}, {hostname} or {host-number;0-9}" - echo -e " ${idsCL[LightYellow]} flags =" - echo -e " ${idsCL[LightYellow]} -p|-power { on / off } ${idsCL[Default]}--> Controls Host Power" - echo -e " ${idsCL[LightYellow]} -e|-esxi { off / mm } ${idsCL[Default]}--> Shuts down ESXi or puts into maintenance mode" + echo -e " ${idsCL[LightCyan]}host${idsCL[Yellow]} {host} {flags} ${idsCL[Default]}--> Host Power/ESXi Control" + echo -e " ${idsCL[Yellow]} host = {esxi-ip}, {idrac-ip}, {hostname} or {host-number;0-9}" + echo -e " ${idsCL[Yellow]} flags =" + echo -e " ${idsCL[Yellow]} -p|-power { on / off } ${idsCL[Default]}--> Controls Host Power" + echo -e " ${idsCL[Yellow]} -e|-esxi { off / mm } ${idsCL[Default]}--> Shuts down ESXi or puts into maintenance mode" echo # echo -e " ${idsCL[Yellow]}shutdownhost {host} ${idsCL[Default]}--> Shutdown ESXI host and its VMs" # echo -e " ${idsCL[LightYellow]} host = {esxi-ip}, {idrac-ip}, {hostname} or {host-number;0-9}" # echo echo -e " ${idsCL[LightCyan]}shutdown_servers${idsCL[Yellow]} {type} ${idsCL[Default]}--> Shutdown selection of servers" - echo -e " ${idsCL[LightYellow]} type = { main / sys / all }" + echo -e " ${idsCL[Yellow]} type = { main / sys / all }" echo echo -e " ${idsCL[LightCyan]}iscsi-vm-shutdown${idsCL[Yellow]} {type} ${idsCL[Default]}--> Shutdown VM's running on iSCSI-(PRI or SYS) Datastore(s)" - echo -e " ${idsCL[LightYellow]} type = { sys / main }" - echo -e " ${idsCL[LightYellow]} sys='iSCSI-SYS' / main='iSCSI-MAIN' ${idsCL[Default]}--> Defaults to main (iSCSI-PRI)" + echo -e " ${idsCL[Yellow]} type = { sys / main }" + echo -e " ${idsCL[Yellow]} sys='iSCSI-SYS' / main='iSCSI-MAIN' ${idsCL[Default]}--> Defaults to main (iSCSI-PRI)" echo # echo -e " ${idsCL[Yellow]}hostpower {host} {on/off} ${idsCL[Default]}--> Control host chassis power" # echo -e " ${idsCL[LightYellow]} host = {esxi-ip}, {idrac-ip}, {hostname} or {host-number;0-9}" # echo - echo -e " ${idsCL[LightCyan]}service${idsCL[LightYellow]} {srvc} {cmd} ${idsCL[Default]}--> Manage an individual monitor service" - echo -e " ${idsCL[LightYellow]} srvc = { all / temp / power / powerlogger }" - echo -e " ${idsCL[LightYellow]} cmd = { start / stop / restart / status }" + echo -e " ${idsCL[LightCyan]}service${idsCL[Yellow]} {srvc} {cmd} ${idsCL[Default]}--> Manage an individual monitor service" + echo -e " ${idsCL[Yellow]} srvc = { all / temp / power / powerlogger }" + echo -e " ${idsCL[Yellow]} cmd = { start / stop / restart / status }" echo echo -e " ${idsCL[LightCyan]}update ${idsCL[Default]}--> Check for and install new PowerWall Script updates" echo