projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ar71xx: add support for gl-ar300m
[openwrt/staging/wigyori.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 f517f9bad380fe42d24196837a954d00430f86e9..71ebf89cd92496469380e3cbf82cbe2c72801b3a 100644
(file)
--- 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