diff options
Diffstat (limited to 'initscript_systemd')
-rw-r--r-- | initscript_systemd | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/initscript_systemd b/initscript_systemd new file mode 100644 index 000000000000..6be39bb8ea53 --- /dev/null +++ b/initscript_systemd @@ -0,0 +1,17 @@ +# fix wakeup triggers to stay asleep on GPD Win Max 2 systemd init script. + +[Unit] +Description=Switching off GPD Win Max 2 (2023) sleep inhibiting wakeup triggers +Wants=systemd-udev-settle.service +After=systemd-udev-settle.service +Wants=systemd-modules-load.service +After=systemd-modules-load.service + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/gpd-winmax2_2023-fix-sleep-wakeuptriggers start +ExecStop=/usr/bin/gpd-winmax2_2023-fix-sleep-wakeuptriggers stop + +[Install] +WantedBy=multi-user.target |