18 lines
498 B
Bash
18 lines
498 B
Bash
#!/bin/bash
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
|
|
|
|
cat <<EOF >/storage/.config/profile.d/001-deviceconfig
|
|
# Device Features
|
|
DEVICE_VOLUMECTL=true
|
|
DEVICE_POWER_LED=false
|
|
DEVICE_PLAYBACK_PATH_SPK="SPK"
|
|
DEVICE_PLAYBACK_PATH_HP="HP"
|
|
DEVICE_SW_HP_SWITCH=true
|
|
DEVICE_BRIGHTNESS="128"
|
|
DEVICE_VOLUME="100"
|
|
DEVICE_BATTERY_LED_STATUS=true
|
|
DEVICE_PWR_LED_GPIO="77"
|
|
DEVICE_TEMP_SENSOR="/sys/devices/virtual/thermal/thermal_zone0/temp"
|
|
|
|
EOF
|