Merge pull request #1398 from fewtarius/dev

AYANEO AIR Plus needs to use S0 sleep so it will wake without a panic.
This commit is contained in:
fewtarius 2023-05-06 20:00:48 -04:00 committed by GitHub
commit fd2874be14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,12 @@
#!/bin/bash
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
. /etc/profile
# S3 sleep does not work on this device yet.
cat <<EOF >/storage/.config/sleep.conf.d/sleep.conf
[Sleep]
AllowSuspend=yes
SuspendState=freeze
EOF