Files
wlan-ap/feeds/mediatek-sdk/mediatek/mt7981/base-files/etc/init.d/bootcount
2025-05-26 14:45:07 +08:00

14 lines
207 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=99
boot() {
case $(board_name) in
edgecore,eap111|\
edgecore,eap112)
bootcount=$(fw_printenv -n bootcount)
[ "$bootcount" != 0 ] && fw_setenv bootcount 0
;;
esac
}