aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorBangLang Huang <banglang.huang@foxmail.com>2016-09-27 14:23:27 +0800
committerJohn Crispin <john@phrozen.org>2016-09-27 17:50:22 +0200
commit9fe833e1d020748fa92e485aeb08b1ac9a6fdb09 (patch)
treefbddfc7dd00c1c835d422853a28656fbed29228f /target/linux/ramips/base-files/etc
parent1bc68e13792c793fc8c0f5bb214532552aa0c5e1 (diff)
downloadupstream-9fe833e1d020748fa92e485aeb08b1ac9a6fdb09.tar.gz
upstream-9fe833e1d020748fa92e485aeb08b1ac9a6fdb09.tar.bz2
upstream-9fe833e1d020748fa92e485aeb08b1ac9a6fdb09.zip
ramips : add support for PandoraBox D1
Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh3
3 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 29bba0b26d..5dee0d5a69 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -242,6 +242,9 @@ oy-0001)
ucidef_set_led_default "power" "power" "$board:green:power" "1"
set_wifi_led "$board:green:wifi"
;;
+pbr-d1)
+ set_usb_led "$board:orange:usb"
+ ;;
pbr-m1)
ucidef_set_led_netdev "internet" "internet" "$board:blue:internet" "eth0.2"
ucidef_set_led_default "power" "power" "$board:blue:power" "1"
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index e757acb6ab..70297de6f8 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -178,6 +178,7 @@ ramips_setup_interfaces()
mzk-ex300np|\
mzk-ex750np|\
na930|\
+ pbr-d1|\
wli-tx4-ag300n|\
wmr-300|\
wrh-300cr)
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 1eb4036aab..e604d7f51d 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -113,7 +113,8 @@ get_status_led() {
status_led="$board:blue:power"
;;
db-wrt01|\
- esr-9753)
+ esr-9753|\
+ pbr-d1)
status_led="$board:orange:power"
;;
f5d8235-v2)