Commit a5520e4
committed
hw-mgmt: script: Fix ThermalControl service disable logic
On systems that do not support thermal control, the thermal service
should be disabled. By mistake, we had the logic for thermal control
support detection inverted.
This commit fixes the TC support check logic:
Return 1 if TC is supported
Return 0 otherwise
Bug: 4567911
Signed-off-by: Oleksandr Shamray <[email protected]>1 parent 7626a3f commit a5520e4
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
340 | | - | |
341 | 339 | | |
| 340 | + | |
| 341 | + | |
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| |||
0 commit comments