mtd: base-files: Unify dual-firmware devices (Linksys)
[openwrt/staging/dedeckeh.git] / target / linux / kirkwood / base-files / etc / init.d / bootcount
1 #!/bin/sh /etc/rc.common
2
3 START=99
4
5 start() {
6 . /lib/functions.sh
7
8 case $(board_name) in
9 linksys,audi|\
10 linksys,viper)
11 mtd resetbc s_env || true
12 ;;
13 esac
14 }