Update power.inc.sh
This commit is contained in:
@@ -450,10 +450,8 @@ CHECKPOWER(){
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
if [ ${HOST_WATTS} -gt 0 ]; then
|
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]}${PS1}'A @ ${PS1V}'V"
|
||||||
echo -e "${idsCL[LightCyan]} PS1 ${idsCL[Default]}: ${idsCL[LightCyan]}${AD}'A${spc}${PS1V}'V"
|
echo -e "${idsCL[LightCyan]} PS2 ${idsCL[Default]}: ${idsCL[LightCyan]}${PS2}'A @ ${PS2V}'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"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "${idsCL[Default]}"
|
echo -e "${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user