Created
August 17, 2022 08:10
-
-
Save geekman/6e32d27f3405d2b04f831b3748e6b19a to your computer and use it in GitHub Desktop.
systemd unit to disable WiFi power-save
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
# /etc/systemd/system/[email protected] | |
[Unit] | |
Description=Disables power-save on WiFI interface %I | |
BindsTo=sys-subsystem-net-devices-%i.device | |
After=sys-subsystem-net-devices-%i.device | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/iw %i set power_save off | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment