projects
/
openwrt
/
staging
/
rmilecki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: add support for Xiaomi Mi Router 4C
[openwrt/staging/rmilecki.git]
/
target
/
linux
/
ramips
/
mt76x8
/
base-files
/
etc
/
init.d
/
bootcount
diff --git
a/target/linux/ramips/mt76x8/base-files/etc/init.d/bootcount
b/target/linux/ramips/mt76x8/base-files/etc/init.d/bootcount
index 3c21433cc55a9b32dcc0160d6f755144fadc4af1..23f1e71b41809c63ba9a0256be0100476f339344 100755
(executable)
--- a/
target/linux/ramips/mt76x8/base-files/etc/init.d/bootcount
+++ b/
target/linux/ramips/mt76x8/base-files/etc/init.d/bootcount
@@
-8,6
+8,7
@@
boot() {
[ -n "$(fw_printenv bootcount bootchanged 2>/dev/null)" ] &&\
echo -e "bootcount\nbootchanged\n" | /usr/sbin/fw_setenv -s -
;;
+ xiaomi,mi-router-4c|\
xiaomi,miwifi-nano)
fw_setenv flag_boot_success 1
;;