mirror of
https://github.com/clockworkpi/launcher_deot.git
synced 2026-03-19 18:42:36 +01:00
sleep mode for kernel 5.7 only
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
systemctl suspend
|
||||
kernel=$(uname -r)
|
||||
if [[ $kernel == *"5.7"* ]]; then
|
||||
systemctl suspend
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user