diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/leds b/target/linux/lantiq/base-files/etc/uci-defaults/leds index 411e9d88283..2a7db4c1a81 100755 --- a/target/linux/lantiq/base-files/etc/uci-defaults/leds +++ b/target/linux/lantiq/base-files/etc/uci-defaults/leds @@ -83,6 +83,14 @@ EOF board=$(lantiq_board_name) case "$board" in +ARV4520PW|ARV452CPW) + set_led_netdev "wifi" "wifi" "soc:blue:wifi" "wlan0" + set_led_usbdev "usb" "USB" "soc:blue:usb" "1-1" + set_led_default "fxs1" "fxs1" "soc:blue:fxs1" "1" + set_led_default "fxs2" "fxs2" "soc:blue:fxs2" "1" + set_led_default "online" "online" "soc:blue:internet" "1" + ;; + ARV7525PW) set_led_netdev "wifi" "wifi" "soc:green:wifi" "wlan0" set_led_default "fxs1" "fxs1" "soc:green:fxs1" "1" @@ -91,15 +99,30 @@ ARV7525PW) set_led_default "online" "online" "soc:green:online" "1" ;; +ARV4525PW) + set_led_netdev "wifi" "wifi" "soc:green:wifi" "wlan0" + set_led_default "fxs1" "fxs1" "soc:green:fxs1" "1" + set_led_default "fxs2" "fxs2" "soc:green:fxs2" "1" + set_led_default "dsl" "dsl" "soc:green:dsl" "1" + set_led_default "online" "online" "soc:green:online" "1" + ;; + GIGASX76X) set_led_wlan "wifi" "wifi" "soc:green:wifi" "phy0radio" - set_led_netdev "online" "online" "soc:green:online" "nas0" + set_led_netdev "online" "online" "soc:green:online" "pppoe-wan" + set_led_usbdev "usb" "USB" "soc:green:usb" "1-1" + ;; + +ARV4519PW) + set_led_wlan "wifi" "wifi" "soc:green:wifi" "phy0radio" + set_led_netdev "internet" "internet" "soc:green:internet" "pppoe-wan" + set_led_usbdev "usb" "USB" "soc:green:usb" "1-1" + ;; + +ARV7518PW) + set_led_wlan "wifi" "wifi" "soc:green:wifi" "phy0radio" + set_led_netdev "internet" "internet" "soc:green:internet" "pppoe-wan" set_led_usbdev "usb" "USB" "soc:green:usb" "1-1" - set_led_default "adsl" "adsl" "soc:green:adsl" "0" - set_led_default "voip" "voip" "soc:green:voip" "0" - set_led_default "phone1" "fxs1" "soc:green:phone1" "0" - set_led_default "phone2" "fxs2" "soc:green:phone2" "0" - set_led_default "line" "line" "soc:green:line" "0" ;; esac diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/network b/target/linux/lantiq/base-files/etc/uci-defaults/network index 09f6bd7bfff..94dea9a24e4 100755 --- a/target/linux/lantiq/base-files/etc/uci-defaults/network +++ b/target/linux/lantiq/base-files/etc/uci-defaults/network @@ -1,51 +1,9 @@ #!/bin/sh # -# Copyright (C) 2011 OpenWrt.org +# Copyright (C) 2011-2012 OpenWrt.org # -set_interface_loopback() { - uci batch <