mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
f12a32630f
Use the generic function instead ot the target specific ones. Signed-off-by: Mathias Kresin <dev@kresin.me>
13 lines
157 B
Bash
Executable File
13 lines
157 B
Bash
Executable File
#!/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
|
|
}
|