Created
October 30, 2019 05:42
-
-
Save weskerfoot/7144fc270b0a9b84abf7070d79b9d8d3 to your computer and use it in GitHub Desktop.
This file contains 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
[Unit] | |
Description=Disable WiFi Power Management | |
After=network-online.target | |
[Service] | |
Type=simple | |
ExecStartPre= /bin/sleep 10 | |
ExecStart= /usr/bin/iw dev wlp3s0 set power_save off | |
[Install] | |
WantedBy=multi-user.target | |
### next unit file | |
[Unit] | |
Description=Disable WiFi Power Management | |
After=suspend.target | |
[Service] | |
Type=simple | |
ExecStartPre= /bin/sleep 10 | |
ExecStart= /usr/bin/iw dev wlp3s0 set power_save off | |
[Install] | |
WantedBy=suspend.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment