mirror of https://github.com/hak5/openwrt.git
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>lede-17.01
parent
b3dd642584
commit
175fbe4d4e
|
@ -1,9 +1,10 @@
|
||||||
#!/bin/sh /etc/rc.common
|
#!/bin/sh /etc/rc.common
|
||||||
. /lib/ramips.sh
|
|
||||||
|
|
||||||
START=99
|
START=99
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
|
. /lib/ramips.sh
|
||||||
|
|
||||||
local board=$(ramips_board_name)
|
local board=$(ramips_board_name)
|
||||||
if [ $board = "sk-wb8" ]; then
|
if [ $board = "sk-wb8" ]; then
|
||||||
fw_setenv bootcount 0
|
fw_setenv bootcount 0
|
||||||
|
|
Loading…
Reference in New Issue