mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-24 20:21:43 +00:00
pwmconfig: Print the initial PWM values
Print the initial PWM values before letting the user change them. This should be useful to better understand what happens next, and for user support in general.
This commit is contained in:
1 parent
75e1846326
commit
2096d14c18
2 files changed
+3
-1
No files matched your search
+2
-1
@@ -236,7 +236,8 @@ echo
|
||||
echo 'Found the following PWM controls:'
|
||||
for i in $PWM
|
||||
do
|
||||
echo " $i"
|
||||
P=`cat $i`
|
||||
echo " $i current value: $P"
|
||||
if [ -w $i ]
|
||||
then
|
||||
# First check if PWM output is in automatic mode
|
||||
|
||||
Reference in new issue
Block a user