projects
/
openwrt
/
staging
/
stintel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: ethernet: Replace random_ether_addr with eth_hw_addr_random
[openwrt/staging/stintel.git]
/
target
/
linux
/
ath79
/
base-files
/
etc
/
init.d
/
bootcount
diff --git
a/target/linux/ath79/base-files/etc/init.d/bootcount
b/target/linux/ath79/base-files/etc/init.d/bootcount
index c734fd9d336e0defa397496d86ea72555efb04a4..7807559d81033368d73fdfe2a4f1277054b47742 100755
(executable)
--- a/
target/linux/ath79/base-files/etc/init.d/bootcount
+++ b/
target/linux/ath79/base-files/etc/init.d/bootcount
@@
-4,6
+4,10
@@
START=99
boot() {
case $(board_name) in
+ adtran,bsap1800-v2|\
+ adtran,bsap1840)
+ fconfig -s -w -d $(find_mtd_part "RedBoot config") -n boot_cntb -x 0
+ ;;
qihoo,c301)
local n=$(fw_printenv activeregion | cut -d = -f 2)
fw_setenv "image${n}trynum" 0