treewide: sync bootcount scripts across targets
[openwrt/staging/dedeckeh.git] / target / linux / ipq40xx / base-files / etc / init.d / bootcount
index f2d76f125f33f5172c465ad2eb10b83db104654c..b9d625e29680fe32bad30dd2ae524001698b9d5e 100755 (executable)
@@ -2,9 +2,7 @@
 
 START=99
 
-start() {
-       . /lib/functions.sh
-
+boot() {
        case $(board_name) in
        alfa-network,ap120c-ac)
                [ -n "$(fw_printenv bootcount changed 2>/dev/null)" ] &&\