Skip to content

Commit

Permalink
Switch from wireless-tools in disabling power management
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Sep 30, 2024
1 parent 140ea24 commit d553182
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bsp/99disable-power-management
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
case "$2" in
up) /sbin/iwconfig $1 power off || true ;;
down) /sbin/iwconfig $1 power on || true ;;
up) iw dev $1 set power_save off || true ;;
down) iw dev $1 set power_save on || true ;;
esac

0 comments on commit d553182

Please sign in to comment.