openwrt/target/linux/qualcommax/ipq60xx/base-files/etc/init.d/bootcount

15 lines
152 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=99
. /lib/functions.sh
boot() {
case $(board_name) in
yuncore,fap650)
fw_setenv owrt_bootcount 0
;;
esac
}