projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: base-files: Unify dual-firmware devices (Linksys)
[openwrt/staging/dedeckeh.git]
/
target
/
linux
/
ipq40xx
/
base-files
/
etc
/
init.d
/
bootcount
diff --git
a/target/linux/ipq40xx/base-files/etc/init.d/bootcount
b/target/linux/ipq40xx/base-files/etc/init.d/bootcount
index 604f88c396d8da3d6ff7c0794e2c2738b65e873c..abde12412a3cfa7fbe68b48e9f07b1443b8c4496 100755
(executable)
--- a/
target/linux/ipq40xx/base-files/etc/init.d/bootcount
+++ b/
target/linux/ipq40xx/base-files/etc/init.d/bootcount
@@
-10,5
+10,8
@@
start() {
[ -n "$(fw_printenv bootcount changed 2>/dev/null)" ] &&\
echo -e "bootcount\nchanged\n" | /usr/sbin/fw_setenv -s -
;;
+ linksys,ea6350v3)
+ mtd resetbc s_env || true
+ ;;
esac
}