diff options
author | Zhao Gang <gang.zhao.42@gmail.com> | 2016-07-15 10:00:04 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-07-20 00:21:48 +0200 |
commit | d963ddf0424a551e5fadd561c934bfdb5d198764 (patch) | |
tree | f1169f5e1ca6165d9a7953bea25625a939a524af /target/linux/ar71xx/base-files/etc/diag.sh | |
parent | 6c2651566cce8f5b3a3d3b976439dee2bac5e07e (diff) | |
download | upstream-d963ddf0424a551e5fadd561c934bfdb5d198764.tar.gz upstream-d963ddf0424a551e5fadd561c934bfdb5d198764.tar.bz2 upstream-d963ddf0424a551e5fadd561c934bfdb5d198764.zip |
ar71xx: add support for gl-ar300m
This add initial support for gl-ar300m router.
Product page: http://www.gl-inet.com/ar300m/
Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/diag.sh')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/diag.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index f517f9bad3..71ebf89cd9 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -451,6 +451,9 @@ set_state() { done) status_led_on case $(ar71xx_board_name) in + gl-ar300m) + fw_printenv lc >/dev/null 2>&1 && fw_setenv "bootcount" 0 + ;; qihoo-c301) local n=$(fw_printenv activeregion | cut -d = -f 2) fw_setenv "image${n}trynum" 0 |