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

14 lines
149 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=99
start() {
. /lib/functions.sh
case $(board_name) in
linksys,ea8500)
mtd resetbc s_env || true
;;
esac
}