projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: add support for TP-LINK Archer C7 v4
[oweals/openwrt.git]
/
target
/
linux
/
ar71xx
/
base-files
/
etc
/
diag.sh
diff --git
a/target/linux/ar71xx/base-files/etc/diag.sh
b/target/linux/ar71xx/base-files/etc/diag.sh
index 1dc48624a0ec57e0e6ed47c94795ac9c8412e11a..f4ad435ea728e21ab32be74bbdaa11edd6bb81d0 100644
(file)
--- a/
target/linux/ar71xx/base-files/etc/diag.sh
+++ b/
target/linux/ar71xx/base-files/etc/diag.sh
@@
-30,6
+30,9
@@
get_status_led() {
xd3200)
status_led="$board:green:system"
;;
xd3200)
status_led="$board:green:system"
;;
+ ap121f)
+ status_led="$board:green:vpn"
+ ;;
ap132|\
ap531b0|\
cpe505n|\
ap132|\
ap531b0|\
cpe505n|\
@@
-55,7
+58,9
@@
get_status_led() {
archer-c58-v1|\
archer-c59-v1|\
archer-c60-v1|\
archer-c58-v1|\
archer-c59-v1|\
archer-c60-v1|\
+ archer-c7-v4|\
fritz300e|\
fritz300e|\
+ gl-usb150|\
mr12|\
mr16|\
nbg6616|\
mr12|\
mr16|\
nbg6616|\
@@
-312,12
+317,11
@@
get_status_led() {
status_led="rb750:green:act"
;;
rb-750-r2|\
status_led="rb750:green:act"
;;
rb-750-r2|\
+ rb-750p-pbr2|\
rb-750up-r2|\
rb-911g-2hpnd|\
rb-911g-5hpacd|\
rb-911g-5hpnd|\
rb-750up-r2|\
rb-911g-2hpnd|\
rb-911g-5hpacd|\
rb-911g-5hpnd|\
- rb-912uag-2hpnd|\
- rb-912uag-5hpnd|\
rb-941-2nd|\
rb-951ui-2nd|\
rb-952ui-5ac2nd|\
rb-941-2nd|\
rb-951ui-2nd|\
rb-952ui-5ac2nd|\
@@
-329,6
+333,8
@@
get_status_led() {
rb-951ui-2hnd)
status_led="rb:green:act"
;;
rb-951ui-2hnd)
status_led="rb:green:act"
;;
+ rb-912uag-2hpnd|\
+ rb-912uag-5hpnd|\
rb-sxt2n|\
rb-sxt5n)
status_led="rb:green:power"
rb-sxt2n|\
rb-sxt5n)
status_led="rb:green:power"
@@
-454,6
+460,9
@@
get_status_led() {
airgatewaypro)
status_led="ubnt:white:status"
;;
airgatewaypro)
status_led="ubnt:white:status"
;;
+ wi2a-ac200i)
+ status_led="nokia:green:ctrl"
+ ;;
whr-g301n|\
whr-hp-g300n|\
whr-hp-gn|\
whr-g301n|\
whr-hp-g300n|\
whr-hp-gn|\
@@
-524,6
+533,9
@@
set_state() {
local n=$(fw_printenv activeregion | cut -d = -f 2)
fw_setenv "image${n}trynum" 0
;;
local n=$(fw_printenv activeregion | cut -d = -f 2)
fw_setenv "image${n}trynum" 0
;;
+ wi2a-ac200i)
+ fw_setenv PKRstCnt 0
+ ;;
esac
;;
esac
esac
;;
esac