Advertisement
Guest User

Disable Wi-Fi powermanagement on Pinebook

a guest
Apr 26th, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. root@pinebook:~# cat /etc/NetworkManager/dispatcher.d/99disable-power-management
  2. #!/bin/sh
  3. case "$2" in
  4. up) /sbin/iwconfig $1 power off || true ;;
  5. down) /sbin/iwconfig $1 power on || true ;;
  6. esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement