projects
/
openwrt
/
staging
/
rmilecki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: move /lib/ramips.sh include in /etc/init.d/bootcount into start()
[openwrt/staging/rmilecki.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 b93e3c96f1a1fa9b1294e4ef30a5ffc57dfac6d2..a9fdd666c37ae9736491d605cfca4c11b96bd610 100755
(executable)
--- a/
target/linux/ramips/base-files/etc/init.d/bootcount
+++ b/
target/linux/ramips/base-files/etc/init.d/bootcount
@@
-1,9
+1,10
@@
#!/bin/sh /etc/rc.common
-. /lib/ramips.sh
START=99
start() {
+ . /lib/ramips.sh
+
local board=$(ramips_board_name)
if [ $board = "sk-wb8" ]; then
fw_setenv bootcount 0