1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-25 01:26:18 +00:00
Lakka-LibreELEC/projects/NXP/devices/iMX8/filesystem/usr/bin/cputemp
2021-03-08 16:35:50 -08:00

8 lines
195 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
TEMP="$(cat /sys/class/thermal/thermal_zone0/temp)"
echo "$(( $TEMP / 1000 )) C"