Created
December 7, 2019 10:32
-
-
Save highgain86j/80cf67563d960a5869ef4bff8786e627 to your computer and use it in GitHub Desktop.
systemd config to disable wifi power management at boot
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 Wi-Fi power management on wls1 | |
Requires=sys-subsystem-net-devices-wls1.device | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
ExecStart=/usr/sbin/iwconfig wls1 power off | |
ExecStop=/usr/sbin/iwconfig wls1 power on | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment