Merge pull request #1509 from fewtarius/dev
Continue to disable sleep on the OGU.
This commit is contained in:
commit
dd84a002de
2 changed files with 9 additions and 6 deletions
|
@ -8,8 +8,10 @@
|
|||
|
||||
echo none > /sys/class/leds/blue\:/trigger
|
||||
|
||||
MYSLEEPMODE=$(get_setting system.suspendmode)
|
||||
if [ -z "${MYSLEEPMODE}" ]
|
||||
then
|
||||
/usr/bin/setsuspendmode freeze
|
||||
fi
|
||||
### Sleep is currently broken, so we'll disable it.
|
||||
|
||||
cat <<EOF >/storage/.config/sleep.conf.d/sleep.conf
|
||||
[Sleep]
|
||||
AllowSuspend=no
|
||||
SuspendState=freeze
|
||||
EOF
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Copyright (C) 2020-present Fewtarius
|
||||
|
||||
PKG_NAME="emulationstation"
|
||||
PKG_VERSION="9b85d77"
|
||||
PKG_VERSION="2670f58"
|
||||
PKG_GIT_CLONE_BRANCH="main"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
|
@ -81,6 +81,7 @@ pre_configure_target() {
|
|||
if [ -f ~/developer_settings.conf ]; then
|
||||
. ~/developer_settings.conf
|
||||
fi
|
||||
export DEVICE=$(echo ${DEVICE^^} | sed "s#-#_##g")
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
|
|
Loading…
Reference in a new issue