1
0
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:
Maulik Mistry
2018-02-20 02:11:36 -07:00
parent 1b480ae4c2
commit 580c8494c5
3 changed files with 29 additions and 11 deletions

View 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