Closed chraac closed 7 years ago
Thanks for making this PR. One thing though: can you merge this functionality into the getTemps()
function in src/Linfo/OS/Linux.php
? As in at the end of the function and use Common::getIntFromFile()
to get the number rather than using fgets/etc.
The /sys/class/thermal/
tree is likely used by other hardware aside from raspberry pi and it'd be great if that could be included as part of the main Linux class rather than requiring a separate extension.
Thanks for replying, and i will refactrying code according to you suggestion
nice :) i look forward to your next pr
U