mirror of
https://github.com/clockworkpi/launcher_deot.git
synced 2025-12-12 23:48:52 +01:00
sleep mode for kernel 5.7 only
This commit is contained in:
parent
5d3ec61a68
commit
6e2972786b
@ -1,3 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
systemctl suspend
|
kernel=$(uname -r)
|
||||||
|
if [[ $kernel == *"5.7"* ]]; then
|
||||||
|
systemctl suspend
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user