[orin] Make orin fan PWM work regardless of hwmon number
Signed-off-by: Tushar Pankaj <tushar.s.pankaj@gmail.com>
Change-Id: Ic25c0c51b775395c5c9609ee5403509fab082823
diff --git a/aos/starter/starter.sh b/aos/starter/starter.sh
index dc71cbd..0a3bebe 100755
--- a/aos/starter/starter.sh
+++ b/aos/starter/starter.sh
@@ -19,7 +19,7 @@
export PATH="${PATH}:/home/pi/bin"
# Turn the fans up.
- echo 255 > /sys/devices/platform/pwm-fan/hwmon/hwmon1/pwm1
+ echo 255 > /sys/devices/platform/pwm-fan/hwmon/hwmon?/pwm1
exec starterd --user=pi --purge_shm_base
else