Lakka-LibreELEC/projects/NXP/devices/iMX8/filesystem/usr/bin/gputemp
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_zone1/temp)"
echo "$(( $TEMP / 1000 )) C"