Created
February 1, 2015 11:08
-
-
Save poinck/331c8930ff1845a2de8d to your computer and use it in GitHub Desktop.
resume hook for systemd
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=Multitouch und Wacom Treiber nach dem Aufwachen neustarten | |
After=suspend.target | |
[Service] | |
Type=oneshot | |
ExecStart=/sbin/modprobe -r hid_multitouch ; /sbin/modprobe hid_multitouch ; /sbin/modprobe -r wacom ; /sbin/modprobe wacom | |
[Install] | |
WantedBy=suspend.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Howto use:
cp multitouch-and-wacom-driver-reset-after-suspend.service /etc/systemd/system systemctl enable multitouch-and-wacom-driver-reset-after-suspend.service systemctl status multitouch-and-wacom-driver-reset-after-suspend.service