Jump to content

[Armbian build PR] - armbian-bsp-cli: fix `10-wifi-disable-powermanagement.rules`


RSS Bot

Recommended Posts

Description

armbian-bsp-cli: fix 10-wifi-disable-powermanagement.rules

  • corrected "iw" path
  • made rule better targeted at wifi devices
  • switched from %k (kernel) to $name variable to better integrate with user-provided rules

How Has This Been Tested?

  • [x] Tested new rule with actual wifi devices --> udeavdm test /sys/class/net/wlan0 output:
Queued commands:
       RUN{program} : /usr/sbin/iw dev wlan0 set power_save off

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] My changes generate no new warnings

View the full article

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines