ramips: enablemodem: move /lib/ramips.sh to start()

Fix build error: /etc/init.d/enablemodem: line 2: /lib/ramips.sh: No such file or directory

Signed-off-by: Henryk Heisig <hyniu@o2.pl>
This commit is contained in:
Henryk Heisig 2016-12-23 15:05:33 +01:00 committed by John Crispin
parent 29cc927ef5
commit 3a6353d910

View file

@ -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 = "mr200" ]; then
adb wait-for-device