diff options
Diffstat (limited to 'target/linux/ramips/mt76x8/base-files/etc/init.d')
-rwxr-xr-x | target/linux/ramips/mt76x8/base-files/etc/init.d/bootcount | 4 |
1 files changed, 4 insertions, 0 deletions
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 0d64deb9e0..3c21433cc5 100755 --- a/target/linux/ramips/mt76x8/base-files/etc/init.d/bootcount +++ b/target/linux/ramips/mt76x8/base-files/etc/init.d/bootcount @@ -4,6 +4,10 @@ START=99 boot() { case $(board_name) in + alfa-network,awusfree1) + [ -n "$(fw_printenv bootcount bootchanged 2>/dev/null)" ] &&\ + echo -e "bootcount\nbootchanged\n" | /usr/sbin/fw_setenv -s - + ;; xiaomi,miwifi-nano) fw_setenv flag_boot_success 1 ;; |