diff options
Diffstat (limited to 'recipes-support/usb-suspend-resume/files/usb-suspend.service')
-rw-r--r-- | recipes-support/usb-suspend-resume/files/usb-suspend.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-support/usb-suspend-resume/files/usb-suspend.service b/recipes-support/usb-suspend-resume/files/usb-suspend.service new file mode 100644 index 0000000..e56630d --- /dev/null +++ b/recipes-support/usb-suspend-resume/files/usb-suspend.service @@ -0,0 +1,10 @@ +[Unit] +Description=User suspend actions +Before=sleep.target + +[Service] +Type=simple +ExecStart=-/usr/bin/usb-suspend.sh + +[Install] +WantedBy=sleep.target |