mirror of
https://github.com/MatMoul/g810-led.git
synced 2026-01-09 06:16:58 +00:00
Added systemd sleep/resume hack, udev groups, and makefile updates.
This commit is contained in:
13
systemd/lib/systemd/system-sleep/g810-led.systemd.system-sleep
Executable file
13
systemd/lib/systemd/system-sleep/g810-led.systemd.system-sleep
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
case $1 in
|
||||
post)
|
||||
# For now, restart used due to oneshot startup
|
||||
systemctl restart g810-led
|
||||
;;
|
||||
pre)
|
||||
# For now, restart used due to oneshot startup
|
||||
systemctl restart g810-led-reboot
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user