X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fmediatek%2Fmt7622%2Fbase-files%2Fetc%2Finit.d%2Fbootcount;fp=target%2Flinux%2Fmediatek%2Fmt7622%2Fbase-files%2Fetc%2Finit.d%2Fbootcount;h=bc4eeb6530d4901603c31bff5cb135aa00a1fe9d;hp=0000000000000000000000000000000000000000;hb=aa94e34c1d7ce40684ec01b8ddc056548ecd34f0;hpb=7a6d0748247e23fe976bc400e9802db903d20b47 diff --git a/target/linux/mediatek/mt7622/base-files/etc/init.d/bootcount b/target/linux/mediatek/mt7622/base-files/etc/init.d/bootcount new file mode 100755 index 0000000000..bc4eeb6530 --- /dev/null +++ b/target/linux/mediatek/mt7622/base-files/etc/init.d/bootcount @@ -0,0 +1,11 @@ +#!/bin/sh /etc/rc.common + +START=99 + +boot() { + case $(board_name) in + linksys,e8450) + mtd erase senv || true + ;; + esac +}