فهرست منبع

airoha: an7581: fix w1700k fan script

W1700K fan script is missing the #!/bin/sh /etc/rc.common shebang and
requires execution bits set. Also, set the fallback to hwmon 3 instead
of 5, since the new RTL PHY driver was not merged.

Signed-off-by: Andrew LaMarche <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/22391
Signed-off-by: Robert Marko <[email protected]>
Andrew LaMarche 1 ماه پیش
والد
کامیت
708883c9d2
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      target/linux/airoha/an7581/base-files/etc/init.d/airoha_fan

+ 2 - 1
target/linux/airoha/an7581/base-files/etc/init.d/airoha_fan

@@ -1,3 +1,4 @@
+#!/bin/sh /etc/rc.common
 #
 # Copyright (C) 2025 openwrt.org
 #
@@ -14,7 +15,7 @@ find_nct7802()
 			return
 		fi
 	done
-	echo "/sys/class/hwmon/hwmon5" # fallback
+	echo "/sys/class/hwmon/hwmon3" # fallback
 }
 
 boot()