Initial commit
This commit is contained in:
12
target/linux/ramips/base-files/etc/init.d/bootcount
Executable file
12
target/linux/ramips/base-files/etc/init.d/bootcount
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=99
|
||||
|
||||
start() {
|
||||
. /lib/functions.sh
|
||||
|
||||
local board=$(board_name)
|
||||
if [ $board = "sk-wb8" ]; then
|
||||
fw_setenv bootcount 0
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user