Created
June 16, 2021 15:36
-
-
Save daniviga/dc5b1ac7d62880a8157f7517ba988e54 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
WLAN="wlan0" | |
/usr/sbin/iw dev $WLAN set power_save off | |
echo -n "${WLAN}: " | |
/usr/sbin/iw dev $WLAN get power_save | |
exit 0 # make the command safer for boot always returning true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment