distribution/packages/hardware/quirks/devices/Anbernic RG552/020-fan_control

9 lines
293 B
Bash
Executable file

#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
cat <<EOF >/storage/.config/profile.d/020-fan_control
DEVICE_HAS_FAN="true"
DEVICE_PWM_FAN="/sys/class/hwmon/hwmon1/pwm1"
DEVICE_FAN_INPUT="/sys/class/hwmon/hwmon1/pwm1"
EOF