diff options
| author | Andreas Böhler | 2026-03-20 20:24:48 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2026-03-24 00:46:35 +0000 |
| commit | 0bfaaa65d5bb75462bcbcde542b7f7e750ebaf36 (patch) | |
| tree | 37ec1203d88aa61415492f1a694ddd094b6fc5d9 | |
| parent | 16775c4852c54c061b116ea572525dc5955bd2ae (diff) | |
realtek: fix D-Link fan control script
When the fan control script was first implemented, a variable was wrongly
named. The fan probably never turns on - fix that.
Signed-off-by: Andreas Böhler <dev@aboehler.at>
Link: https://github.com/openwrt/openwrt/pull/22531
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 41d6584d9bd7628fe836ef63904748892d632679)
| -rw-r--r-- | target/linux/realtek/base-files/etc/uci-defaults/04_dlinkfan | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/realtek/base-files/etc/uci-defaults/04_dlinkfan b/target/linux/realtek/base-files/etc/uci-defaults/04_dlinkfan index 17cc649438..a06768efa4 100644 --- a/target/linux/realtek/base-files/etc/uci-defaults/04_dlinkfan +++ b/target/linux/realtek/base-files/etc/uci-defaults/04_dlinkfan @@ -10,7 +10,7 @@ case "$board" in d-link,dgs-1210-28p-f|d-link,dgs-1210-28mp-f) # Enable fan control FAN_CTRL='/sys/class/hwmon/hwmon0' - echo 1 > "$FAN_PATH/pwm1_enable" + echo 1 > "$FAN_CTRL/pwm1_enable" # Set fan script execution in crontab grep -s -q fan_ctrl.sh /etc/crontabs/root && exit 0 |