mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
project: add cputemp script
This commit is contained in:
parent
709a60e423
commit
8bf5a18af5
8
projects/Amlogic/filesystem/usr/bin/cputemp
Executable file
8
projects/Amlogic/filesystem/usr/bin/cputemp
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
TEMP=$(cat /sys/class/hwmon/hwmon0/temp1_input)
|
||||
TEMP="$(( $TEMP / 1000 ))"
|
||||
echo "${TEMP} C"
|
1
projects/Amlogic/filesystem/usr/bin/gputemp
Symbolic link
1
projects/Amlogic/filesystem/usr/bin/gputemp
Symbolic link
@ -0,0 +1 @@
|
||||
cputemp
|
Loading…
x
Reference in New Issue
Block a user