distribution/packages/hardware/quirks/devices/Anbernic RG351M/050-volume

8 lines
289 B
Bash
Executable file

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
. /storage/.config/profile.d/001-device_config
### RG351P/M has a volume rocker, so the internal volume should always be 100%.
amixer -c 0 set "Master" "${DEVICE_VOLUME}%"