projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: use the generic board_name function
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
base-files
/
etc
/
init.d
/
bootcount
diff --git
a/target/linux/ramips/base-files/etc/init.d/bootcount
b/target/linux/ramips/base-files/etc/init.d/bootcount
index a9fdd666c37ae9736491d605cfca4c11b96bd610..0f260fa3fc67f9bb44d8273a25b1d4549f41ee79 100755
(executable)
--- a/
target/linux/ramips/base-files/etc/init.d/bootcount
+++ b/
target/linux/ramips/base-files/etc/init.d/bootcount
@@
-3,9
+3,9
@@
START=99
start() {
- . /lib/
ramip
s.sh
+ . /lib/
function
s.sh
- local board=$(
ramips_
board_name)
+ local board=$(board_name)
if [ $board = "sk-wb8" ]; then
fw_setenv bootcount 0
fi