Commit 7db4735
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 46fada1 commit 7db4735
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
339 | | - | |
340 | 338 | | |
| 339 | + | |
| 340 | + | |
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| |||
0 commit comments