Initial commit
This commit is contained in:
13
target/linux/kirkwood/base-files/etc/init.d/bootcount
Executable file
13
target/linux/kirkwood/base-files/etc/init.d/bootcount
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=99
|
||||
|
||||
boot() {
|
||||
case $(board_name) in
|
||||
linksys,e4200-v2|\
|
||||
linksys,ea3500|\
|
||||
linksys,ea4500)
|
||||
mtd resetbc s_env || true
|
||||
;;
|
||||
esac
|
||||
}
|
||||
Reference in New Issue
Block a user