ramips: add initial support for SamKnows SK-WB8
Signed-off-by: Andrew Yong <me@ndoo.sg>
This commit is contained in:
committed by
John Crispin
parent
9195d8da35
commit
374cae9e6f
11
target/linux/ramips/base-files/etc/init.d/bootcount
Executable file
11
target/linux/ramips/base-files/etc/init.d/bootcount
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
. /lib/ramips.sh
|
||||
|
||||
START=99
|
||||
|
||||
start() {
|
||||
local board=$(ramips_board_name)
|
||||
if [ $board = "sk-wb8" ]; then
|
||||
fw_setenv bootcount 0
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user