Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
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
  • Loading branch information
alexl83 committed Aug 23, 2024
commit 0308243b26b0b6ef10a8c256f6d145242f8ef3d5
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"