apm821xx: WNDR4700: fix fan-control
[openwrt/openwrt.git] / target / linux / apm821xx / base-files / etc / init.d / hwmon_fancontrol
old mode 100644 (file)
new mode 100755 (executable)
index d38964e..c1f159c
@@ -9,7 +9,7 @@ boot() {
        case $(board_name) in
        netgear,wndr4700)
                path_to_hwmon='/sys/devices/platform/plb/plb:opb/4ef600700.i2c/i2c-0/0-001b/hwmon/hwmon1'
-               echo 1 > "$path_to_hwmon/pwm1_enable"
+               echo 1 > "$path_to_hwmon/pwm1_mode"
                ;;
        esac
 }