From 472e2129cb8019c3a4ef702c3cfe7e5bad4c1a12 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 11 Feb 2024 11:06:02 -0600 Subject: [PATCH] Update power.inc.sh --- inc/power.inc.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/inc/power.inc.sh b/inc/power.inc.sh index 135c309f..bb3e23f8 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -450,10 +450,8 @@ CHECKPOWER(){ fi if [ ${HOST_WATTS} -gt 0 ]; then - AD=$(IDS_NUMBER_FORMAT ${PS1} 2 yes); c=0; spc=''; spc1=`expr ${wspc} - ${#AD}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done - echo -e "${idsCL[LightCyan]} PS1 ${idsCL[Default]}: ${idsCL[LightCyan]}${AD}'A${spc}${PS1V}'V" - AD=$(IDS_NUMBER_FORMAT ${PS2} 2 yes); c=0; spc=''; spc1=`expr ${wspc} - ${#AD}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done - echo -e "${idsCL[LightCyan]} PS2 ${idsCL[Default]}: ${idsCL[LightCyan]}${AD}'A${spc}${PS2V}'V" + echo -e "${idsCL[LightCyan]} PS1 ${idsCL[Default]}: ${idsCL[LightCyan]}${PS1}'A @ ${PS1V}'V" + echo -e "${idsCL[LightCyan]} PS2 ${idsCL[Default]}: ${idsCL[LightCyan]}${PS2}'A @ ${PS2V}'V" fi echo -e "${idsCL[Default]}"