Created
June 12, 2015 17:57
-
-
Save mheijkoop/9dba9283653fbfcf1b7c to your computer and use it in GitHub Desktop.
trigger wifi scan on ubuntu 15.04 after suspend/resume so network manager connects
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=Network Manager Trigger Scan | |
Requisite=NetworkManager.service | |
After=NetworkManager-wait-online.service | |
Before=network-online.target | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/nmcli device wifi rescan | |
[Install] | |
WantedBy=network-online.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment