17 lines
424 B
Bash
Executable file
17 lines
424 B
Bash
Executable file
#!/bin/bash
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
|
|
|
|
. /etc/profile
|
|
|
|
### Set GPU Govorner to powersave during boot
|
|
|
|
echo powersave > /sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu/governor
|
|
|
|
### Sleep is currently broken, so we'll disable it.
|
|
|
|
cat <<EOF >/storage/.config/sleep.conf.d/sleep.conf
|
|
[Sleep]
|
|
AllowSuspend=no
|
|
SuspendState=freeze
|
|
EOF
|