Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save poinck/331c8930ff1845a2de8d to your computer and use it in GitHub Desktop.
Save poinck/331c8930ff1845a2de8d to your computer and use it in GitHub Desktop.
resume hook for systemd
[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
@poinck
Copy link
Author

poinck commented Feb 1, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment