ar71xx: unify LED names on TP-Link boards
[openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / wndr3700
index 91f282b..77fd057 100755 (executable)
@@ -13,10 +13,16 @@ set system.wan_led=led
 set system.wan_led.sysfs='wndr3700:green:wan'
 set system.wan_led.name='WAN LED (green)'
 set system.wan_led.default='0'
 set system.wan_led.sysfs='wndr3700:green:wan'
 set system.wan_led.name='WAN LED (green)'
 set system.wan_led.default='0'
+set system.usb_led=led
+set system.usb_led.name='USB'
+set system.usb_led.sysfs='wndr3700:green:usb'
+set system.usb_led.trigger='usbdev'
+set system.usb_led.dev='1-1'
+set system.usb_led.interval='50'
 commit system
 EOF
 }
 
 commit system
 EOF
 }
 
-if [ "${board}" == "wndr3700" ]; then
+if [ "${board}" == "wndr3700" -o "${board}" == "wndr3700v2" ]; then
        wndr3700_set_wan_led
 fi
        wndr3700_set_wan_led
 fi
This page took 0.023854 seconds and 4 git commands to generate.