I need to run
sudo killall wpa_supplicant
automatically after resume. Unfortunately on 15.04 with systemd it isn't possible with scripts.
How this may be automated?
I need to run
sudo killall wpa_supplicant
automatically after resume. Unfortunately on 15.04 with systemd it isn't possible with scripts.
How this may be automated?
You need to place your scripts in:
An example script based on one from the Arch wiki (systemd sleep Hooks):
Dont forget to make your script executable!
See
man systemd-sleep
for more details.There is no need for
sudo
as your script will be run as root.