Update power.inc.sh
This commit is contained in:
@@ -54,7 +54,7 @@ CHECKPOWER(){
|
||||
start=`date +%s`
|
||||
rm -f ${PW_TMPFOLDER}/*.hostpower*
|
||||
REPORT=0
|
||||
wspc=8
|
||||
wspc=9
|
||||
while [ $# -gt 0 ]; do
|
||||
case "$1" in
|
||||
-a|-avg) avgdays=${2};;
|
||||
@@ -194,8 +194,7 @@ CHECKPOWER(){
|
||||
|
||||
# echo
|
||||
DIVIDER . lightCyan ${PRI_WIDTH}
|
||||
c=0; spc=''; spc1=`expr ${wspc} - ${#AD}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done
|
||||
echo -e "${idsCL[LightCyan]}Totals : Amps Watts${idsCL[Default]}"
|
||||
echo -e "${idsCL[LightCyan]}Totals : Amps Watts${idsCL[Default]}"
|
||||
|
||||
if [ ${REPORT} -eq 0 ]; then
|
||||
echo -en "\r\033[K"
|
||||
|
||||
Reference in New Issue
Block a user