mirror of
https://github.com/outbackdingo/openwrt.git
synced 2026-01-28 02:19:51 +00:00
ramips: move /lib/ramips.sh include in /etc/init.d/bootcount into start()
Enabling the init script offline will print an error otherwise. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user