Created
August 27, 2017 14:09
-
-
Save AyumuKasuga/f5452b54002c31edf4190c548f1bd3c2 to your computer and use it in GitHub Desktop.
/etc/systemd/system/wifi-resume.service
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/wifi-resume.service | |
#sudo systemctl enable wifi-resume.service | |
[Unit] | |
Description=Restart networkmanager at resume | |
After=suspend.target | |
After=hibernate.target | |
After=hybrid-sleep.target | |
[Service] | |
Type=oneshot | |
ExecStart=/bin/systemctl restart network-manager.service | |
[Install] | |
WantedBy=suspend.target | |
WantedBy=hibernate.target | |
WantedBy=hybrid-sleep.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment