treewide: sync bootcount scripts across targets
[openwrt/staging/chunkeey.git] / target / linux / ipq806x / base-files / etc / init.d / bootcount
index 6a5a6d52add34e3176b95cf902195b42d58e9adb..d0bf708e66a98fead97a1ffc949d3c4debd4f43c 100755 (executable)
@@ -2,9 +2,7 @@
 
 START=99
 
-start() {
-       . /lib/functions.sh
-
+boot() {
        case $(board_name) in
        linksys,ea8500)
                mtd resetbc s_env || true