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

13 lines
141 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=99
boot() {
case $(board_name) in
linksys,audi|\
linksys,viper)
mtd resetbc s_env || true
;;
esac
}