distribution/packages/hardware/quirks/devices/Hardkernel ODROID-GO-Ultra/001-hardwareinit

18 lines
365 B
Text
Raw Normal View History

2023-04-02 00:27:13 +00:00
#!/bin/bash
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
. /etc/profile
2023-04-23 14:23:45 +00:00
### Disable blue blinking led
echo none > /sys/class/leds/blue\:/trigger
2023-06-03 09:25:13 +00:00
### Sleep is currently broken, so we'll disable it.
cat <<EOF >/storage/.config/sleep.conf.d/sleep.conf
[Sleep]
AllowSuspend=no
SuspendState=freeze
EOF