mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-17 12:21:23 +00:00
Minor bugfix in armbianmonitor
This commit is contained in:
parent
5cb346e80f
commit
9b49b45ff7
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ MonitorMode() {
|
|||
echo -e "\n$(date "+%H:%M:%S"): --- $(printf "%5s" ${LoadAvg}) ${procStats}\c"
|
||||
;;
|
||||
esac
|
||||
if [ "X${SocTemp}" != "Xn/a" ] && [ ! -z "${raw_temp##*[!0-9]*}" ]; then
|
||||
if [ "X${SocTemp}" != "Xn/a" ] && [ ! -z "${SocTemp##*[!0-9]*}" ]; then
|
||||
read SocTemp <"${Sensors}/soctemp"
|
||||
if [ ${SocTemp} -ge 1000 ]; then
|
||||
SocTemp=$(awk '{printf ("%0.1f",$1/1000); }' <<<${SocTemp})
|
||||
|
|
Loading…
Add table
Reference in a new issue