diff --git a/Menu/GameShell/98_Sleep.sh b/Menu/GameShell/98_Sleep.sh index e609161..d4da4bd 100644 --- a/Menu/GameShell/98_Sleep.sh +++ b/Menu/GameShell/98_Sleep.sh @@ -1,3 +1,8 @@ #!/bin/bash -systemctl suspend \ No newline at end of file +kernel=$(uname -r) +if [[ $kernel == *"5.7"* ]]; then + systemctl suspend +fi + +exit 0