From f27c030141970fe5bf3d7c5fad01c81b3107cc0d Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 25 Mar 2012 08:50:30 +0000 Subject: update /etc/uci-defaults/* SVN-Revision: 31062 --- .../linux/lantiq/base-files/etc/uci-defaults/leds | 35 ++++-- .../lantiq/base-files/etc/uci-defaults/network | 119 +++++---------------- 2 files changed, 53 insertions(+), 101 deletions(-) (limited to 'target/linux/lantiq/base-files') diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/leds b/target/linux/lantiq/base-files/etc/uci-defaults/leds index 411e9d8828..2a7db4c1a8 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 09f6bd7bff..94dea9a24e 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 <