1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 10:26:23 +00:00
Lakka-LibreELEC/projects/Rockchip/filesystem/usr/bin/cputemp

9 lines
265 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
TEMP="$(cat /sys/class/thermal/thermal_zone0/temp)"
echo "$(( $TEMP / 1000 )) C"