Update power.inc.sh
This commit is contained in:
@@ -310,6 +310,7 @@ CHECKPOWER(){
|
|||||||
echo -en "${idsCL[LightCyan]} Getting FanSpeed..."
|
echo -en "${idsCL[LightCyan]} Getting FanSpeed..."
|
||||||
until [ -f ${PW_TMPFOLDER}/.fanspeed ]; do tmp=tmp; done
|
until [ -f ${PW_TMPFOLDER}/.fanspeed ]; do tmp=tmp; done
|
||||||
echo -en "\r\033[K${MSG}${idsCL[Cyan]} [PS1=${idsCL[LightCyan]}${PS1}'A${idsCL[Cyan]}, PS2=${idsCL[LightCyan]}${PS2}'A${idsCL[Cyan]}]${idsCL[LightCyan]} [FanSpeed=$(cat ${PW_TMPFOLDER}/.fanspeed)'%]"
|
echo -en "\r\033[K${MSG}${idsCL[Cyan]} [PS1=${idsCL[LightCyan]}${PS1}'A${idsCL[Cyan]}, PS2=${idsCL[LightCyan]}${PS2}'A${idsCL[Cyan]}]${idsCL[LightCyan]} [FanSpeed=$(cat ${PW_TMPFOLDER}/.fanspeed)'%]"
|
||||||
|
rm -f ${PW_TMPFOLDER}/.fanspeed
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user