Skip to content

Instantly share code, notes, and snippets.

@highgain86j
Created December 7, 2019 10:32
Show Gist options
  • Save highgain86j/80cf67563d960a5869ef4bff8786e627 to your computer and use it in GitHub Desktop.
Save highgain86j/80cf67563d960a5869ef4bff8786e627 to your computer and use it in GitHub Desktop.
systemd config to disable wifi power management at boot
[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