aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/init.d/bootcount3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/init.d/bootcount b/target/linux/ramips/base-files/etc/init.d/bootcount
index b93e3c96f1..a9fdd666c3 100755
--- 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