diff options
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc/board.d')
-rwxr-xr-x | target/linux/brcm63xx/base-files/etc/board.d/01_leds | 89 | ||||
-rwxr-xr-x | target/linux/brcm63xx/base-files/etc/board.d/02_network | 146 |
2 files changed, 0 insertions, 235 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/board.d/01_leds b/target/linux/brcm63xx/base-files/etc/board.d/01_leds deleted file mode 100755 index dd1c565bb9..0000000000 --- a/target/linux/brcm63xx/base-files/etc/board.d/01_leds +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 2013-2015 OpenWrt.org -# - -. /lib/functions/uci-defaults.sh - -board_config_update - -case "$(board_name)" in -actiontec,r1000h) - ucidef_set_led_usbport "usb" "USB" "R1000H:green:usb" "usb1-port1" "usb2-port1" - ;; -adb,a4001n) - ucidef_set_led_usbdev "usb" "USB" "A4001N:green:usb" "1-1" - ;; -adb,a4001n1) - ucidef_set_led_netdev "lan" "LAN" "A4001N1:green:eth" "eth0" - ucidef_set_led_usbdev "usb" "USB" "A4001N1:green:3g" "1-1" - ;; -adb,av4202n) - ucidef_set_led_netdev "wlan0" "WLAN" "AV4202N:blue:wifi" "wlan0" - ;; -bt,home-hub-2-a) - ucidef_set_led_netdev "lan" "LAN" "HOMEHUB2A:blue:broadband" "eth0.1" - ucidef_set_led_netdev "wlan0" "WIFI" "HOMEHUB2A:green:wireless" "wlan0" - ucidef_set_led_usbdev "usb1" "USB1" "HOMEHUB2A:blue:phone" "1-1" - ucidef_set_led_usbdev "usb2" "USB2" "HOMEHUB2A:green:phone" "2-1" - ;; -comtrend,ar-5315u) - ucidef_set_led_usbdev "usb" "USB" "AR-5315u:green:usb" "1-1" - ;; -huawei,echolife-hg553) - ucidef_set_led_netdev "lan" "LAN" "HW553:blue:lan" "eth0" - ucidef_set_led_usbdev "usb1" "USB1" "HW553:red:hspa" "1-1" - ucidef_set_led_usbdev "usb2" "USB2" "HW553:blue:hspa" "1-2" - ;; -huawei,echolife-hg556a-a|\ -huawei,echolife-hg556a-b|\ -huawei,echolife-hg556a-c) - ucidef_set_led_netdev "lan" "LAN" "HW556:red:dsl" "eth0" - ucidef_set_led_usbdev "usb" "USB" "HW556:red:hspa" "1-2" - ;; -huawei,echolife-hg622) - ucidef_set_led_usbdev "usb" "USB" "HG622:green:usb" "1-2" - ;; -huawei,echolife-hg655b) - ucidef_set_led_usbdev "usb" "USB" "HW65x:green:usb" "1-2" - ;; -inventel,livebox-1) - ucidef_set_led_netdev "lan" "LAN" "Livebox1:red:traffic" "eth0" - ucidef_set_led_netdev "wan" "WAN" "Livebox1:red:adsl" "eth1" - ucidef_set_led_netdev "wlan0" "WIFI" "Livebox1:red:wifi" "wlan0" - ;; -netgear,dgnd3700-v1) - ucidef_set_led_netdev "lan" "LAN" "DGND3700v1_3800B:green:lan" "eth0.1" - ucidef_set_led_netdev "wan" "WAN" "DGND3700v1_3800B:green:inet" "eth0.2" - ucidef_set_led_netdev "wlan0" "WIFI2G" "DGND3700v1_3800B:green:wifi2g" "wlan0" - ucidef_set_led_netdev "wlan1" "WIFI5G" "DGND3700v1_3800B:blue:wifi5g" "wlan1" - ucidef_set_led_usbdev "usb1" "USB1" "DGND3700v1_3800B:green:usb-back" "1-1" - ucidef_set_led_usbdev "usb2" "USB2" "DGND3700v1_3800B:green:usb-front" "1-2" - ;; -netgear,evg2000) - ucidef_set_led_netdev "lan" "LAN" "EVG2000:green:lan" "eth0" - ucidef_set_led_netdev "wan" "WAN" "EVG2000:green:wan" "eth1" - ucidef_set_led_netdev "wlan0" "WIFI" "EVG2000:green:wireless" "wlan0" - ucidef_set_led_usbdev "usb1" "USB1" "EVG2000:green:voip1" "1-1" - ucidef_set_led_usbdev "usb2" "USB2" "EVG2000:green:voip2" "1-2" - ;; -nucom,r5010un-v2) - ucidef_set_led_usbdev "usb" "USB" "R5010UNv2:green:usb" "1-1" - ;; -sagem,fast-2704n) - ucidef_set_led_netdev "wan" "WAN" "F@ST2704N:green:inet" "eth0.2" - ;; -sagem,fast-2704-v2) - ucidef_set_led_usbdev "usb" "USB" "F@ST2704V2:green:usb" "1-1" - ;; -sercomm,ad1018-nor) - ucidef_set_led_netdev "wlan0" "WLAN" "AD1018:green:wifi" "wlan0" - ;; -telsey,cpva502plus) - ucidef_set_led_netdev "lan" "LAN" "CPVA502+:amber:link" "eth0" - ;; -esac - -board_config_flush - -exit 0 diff --git a/target/linux/brcm63xx/base-files/etc/board.d/02_network b/target/linux/brcm63xx/base-files/etc/board.d/02_network deleted file mode 100755 index 7fa1514b4f..0000000000 --- a/target/linux/brcm63xx/base-files/etc/board.d/02_network +++ /dev/null @@ -1,146 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 2012-2015 OpenWrt.org -# - -. /lib/functions/uci-defaults.sh - -board_config_update - -case "$(board_name)" in -actiontec,r1000h|\ -dynalink,rta770bw|\ -dynalink,rta770w|\ -netgear,cvg834g|\ -netgear,evg2000|\ -t-com,speedport-w-303v|\ -t-com,speedport-w-500v) - ucidef_set_interface_lan "eth0" - ;; -adb,a4001n1|\ -adb,a4001n|\ -adb,av4202n|\ -brcm,bcm963281tan|\ -brcm,bcm96328avng|\ -brcm,bcm96368mvngr|\ -comtrend,ar-5381u|\ -comtrend,ar-5387un|\ -comtrend,vr-3025u|\ -comtrend,vr-3025un|\ -comtrend,vr-3026e|\ -d-link,dsl-274xb-f1|\ -d-link,dsl-275xb-d1|\ -huawei,echolife-hg622|\ -huawei,echolife-hg655b|\ -nucom,r5010un-v2|\ -sagem,fast-2504n|\ -sagem,fast-2704-v2|\ -zyxel,p870hw-51a-v2) - ucidef_add_switch "switch0" \ - "0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "8t@eth0" - ;; -alcatel,rg100a|\ -belkin,f5d7633|\ -brcm,bcm96348gw|\ -brcm,bcm96348gw-10|\ -brcm,bcm96348gw-11|\ -brcm,bcm96358vw|\ -brcm,bcm96358vw2|\ -bt,voyager-2500v-bb|\ -davolink,dv-201amr|\ -d-link,dsl-2650u|\ -dynalink,rta1025w|\ -netgear,dg834gt-pn|\ -pirelli,agpf-s0|\ -sagem,fast-2404|\ -telsey,magic|\ -tp-link,td-w8900gb|\ -usrobotics,usr9108) - ucidef_set_interfaces_lan_wan "eth1" "eth0" - ucidef_add_switch "switch0" \ - "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5u@eth1" - ;; -asmax,ar-1004g|\ -brcm,bcm96338gw|\ -brcm,bcm96338w|\ -bt,voyager-2110|\ -comtrend,ct-5365|\ -comtrend,ct-536plus|\ -comtrend,ct-6373|\ -d-link,dsl-2640b-b|\ -d-link,dsl-2640u|\ -dynalink,rta1320|\ -netgear,dg834g-v4|\ -sagem,fast-2604|\ -telsey,cpva642) - ucidef_add_switch "switch0" \ - "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5u@eth0" - ;; -brcm,bcm963268bu-p300) - ucidef_add_switch "switch0" \ - "0:lan" "3:lan" "4:lan" "5:lan" "6:lan" "7:lan" "8t@eth0" - ;; -brcm,bcm96368mvwg) - ucidef_add_switch "switch0" \ - "1:lan" "2:lan" "4:lan" "5:lan" "8t@eth0" - ;; -bt,home-hub-2-a|\ -d-link,dsl-274xb-c2|\ -huawei,echolife-hg553|\ -huawei,echolife-hg556a-a|\ -huawei,echolife-hg556a-b|\ -huawei,echolife-hg556a-c) - ucidef_add_switch "switch0" \ - "0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "5t@eth0" - ;; -comtrend,ar-5315u|\ -observa,vh4032n|\ -sagem,fast-2704n) - ucidef_add_switch "switch0" \ - "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "8t@eth0" - ;; -comtrend,wap-5813n) - ucidef_add_switch "switch0" \ - "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5t@eth0" - ;; -d-link,dva-g3810bn-tl|\ -huawei,echolife-hg520v|\ -sfr,neufbox-4-foxconn-r1|\ -sfr,neufbox-4-sercomm-r0) - ucidef_set_interfaces_lan_wan "eth1.1" "eth0" - ucidef_add_switch "switch0" \ - "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth1" - ;; -inteno,vg50) - ucidef_add_switch "switch0" \ - "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "8t@eth0" - ;; -inventel,livebox-1|\ -telsey,cpva502plus) - ucidef_set_interfaces_lan_wan "eth0" "eth1" - ;; -netgear,dgnd3700-v1) - ucidef_add_switch "switch0" \ - "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "0:wan" "8t@eth0" - ;; -sercomm,ad1018-nor) - ucidef_add_switch "switch0" \ - "1:lan:3" "2:lan:2" "3:lan:1" "0:wan" "8t@eth0" - ;; -sfr,neufbox-6-sercomm-r0) - ucidef_add_switch "switch0" \ - "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "9t@eth0" - ;; -sky,sr102) - ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" - ucidef_add_switch "switch0" \ - "0:lan" "1:lan" "2:lan" "3:wan" "8t@eth0" - ;; -*) - ucidef_set_interfaces_lan_wan "eth1" "eth0" - ;; -esac - -board_config_flush - -exit 0 |