Skip to content

Commit

Permalink
armbian-bsp-cli: fix 10-wifi-disable-powermanagement.rules
Browse files Browse the repository at this point in the history
 - corrected "iw" path
 - made rule better targeted at wifi devices
 - switched from %k (kernel) to $name variable to better integrate with user-provided rules
  • Loading branch information
alexl83 committed Aug 23, 2024
1 parent 8f01eea commit 6124132
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
KERNEL=="wlan*", ACTION=="add", RUN+="/sbin/iw dev %k set power_save off"
SUBSYSTEM=="net", ACTION=="!remove", ENV{DEVTYPE}=="wlan", RUN+="/usr/sbin/iw dev $name set power_save off"

0 comments on commit 6124132

Please sign in to comment.