947c482a37
* Break Loki Zero link to configure proper default TDP for Max and MiniPro. * Revert drain when charged while powered off support for RK3566.
15 lines
399 B
Bash
15 lines
399 B
Bash
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
|
|
|
|
. /etc/profile.d/001-functions
|
|
|
|
### Set the default device configuration
|
|
cat <<EOF >/storage/.config/profile.d/001-device_config
|
|
DEVICE_BASE_TDP="6w"
|
|
DEVICE_LED_CONTROL="false"
|
|
DEVICE_LED_BRIGHTNESS="false"
|
|
DEVICE_HAS_FAN="false"
|
|
DEVICE_VOLUMECTL="true"
|
|
DEVICE_BRIGHTNESS="hardware"
|
|
EOF
|