2016-05-10 16:17:54 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
|
|
|
|
|
|
|
START=99
|
|
|
|
|
2019-08-10 11:35:56 +00:00
|
|
|
boot() {
|
|
|
|
case $(board_name) in
|
2019-10-29 22:25:56 +00:00
|
|
|
alfa-network,awusfree1)
|
|
|
|
[ -n "$(fw_printenv bootcount bootchanged 2>/dev/null)" ] &&\
|
|
|
|
echo -e "bootcount\nbootchanged\n" | /usr/sbin/fw_setenv -s -
|
|
|
|
;;
|
2019-09-03 15:58:07 +00:00
|
|
|
xiaomi,miwifi-nano)
|
|
|
|
fw_setenv flag_boot_success 1
|
|
|
|
;;
|
2019-08-10 11:35:56 +00:00
|
|
|
esac
|
2016-05-10 16:17:54 +00:00
|
|
|
}
|