projects
/
openwrt
/
staging
/
rmilecki.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
3c21433cc55a9b32dcc0160d6f755144fadc4af1
[openwrt/staging/rmilecki.git]
/
target
/
linux
/
ramips
/
mt76x8
/
base-files
/
etc
/
init.d
/
bootcount
1
#!/bin/sh /etc/rc.common
2
3
START
=
99
4
5
boot
() {
6
case
$
(
board_name
)
in
7
alfa-network
,
awusfree1
)
8
[
-n
"$(fw_printenv bootcount bootchanged 2>/dev/null)"
] &&
\
9
echo -e
"bootcount
\n
bootchanged
\n
"
|
/
usr
/
sbin
/
fw_setenv
-s
-
10
;;
11
xiaomi
,
miwifi-nano
)
12
fw_setenv flag_boot_success
1
13
;;
14
esac
15
}