21 lines
484 B
Bash
Executable file
21 lines
484 B
Bash
Executable file
#!/bin/bash
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
|
|
|
|
. /etc/profile
|
|
|
|
### Disable blue blinking led
|
|
|
|
echo none > /sys/class/leds/blue\:/trigger
|
|
|
|
### Sleep is currently broken, so we'll disable it.
|
|
|
|
cat <<EOF >/storage/.config/sleep.conf.d/sleep.conf
|
|
[Sleep]
|
|
AllowSuspend=no
|
|
SuspendState=freeze
|
|
EOF
|
|
|
|
### Set sound properties
|
|
amixer -c 0 -q sset 'FRDDR_A SINK 1 SEL' 'OUT 1'
|
|
amixer -c 0 -q sset 'FRDDR_A SRC 1 EN' 'on'
|