Sujet : Re: Simple way for web to execute root shell script.
De : anssi.saari (at) *nospam* usenet.mail.kapsi.fi (Anssi Saari)
Groupes : comp.os.linux.misc comp.sys.raspberry-piDate : 30. May 2025, 18:53:00
Autres entêtes
Organisation : An impatient and LOUD arachnid
Message-ID : <sm05xhif0jn.fsf@lakka.kapsi.fi>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
The Natural Philosopher <
tnp@invalid.invalid> writes:
How does one 'use' drivetemp?
Load it with modprobe and data appears in /sys/class/hwmon somewhere. It
doesn't seem to autoload always, I don't know what the trigger is. For
example, on my router it's loaded, on my little pizza box it's not.
For example, on the pizza box, /sys/class/hwmon/hwmon2/temp1_input
appears after loading drivetemp and it contains 36000 which means 36
degrees C.