You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of the code uses DEVICE before assigning a value to DEVICE, which will cause the condition to be judged incorrectly.
For example, if there is another network card NO-CARRIER, it will cause eth0 to be erroneously disabled.
Move this part of the code after assigning a value to the DEVICE.
I believe I spotted a bug in version 1.74 in
/usr/share/laptop-mode-tools/modules/ethernet
.laptop-mode-tools/usr/share/laptop-mode-tools/modules/ethernet
Line 36 in 9839bd2
laptop-mode-tools/usr/share/laptop-mode-tools/modules/ethernet
Line 64 in 9839bd2
Lines 36 and 64 reference
DEVICE
, which should not be available outside the loop that only starts in line 104?laptop-mode-tools/usr/share/laptop-mode-tools/modules/ethernet
Line 104 in 9839bd2
Thank you!
The text was updated successfully, but these errors were encountered: