From 3a6353d910fc1e9a9fdafbd85c96d96d8d43746a Mon Sep 17 00:00:00 2001 From: Henryk Heisig Date: Fri, 23 Dec 2016 15:05:33 +0100 Subject: [PATCH] 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 --- target/linux/ramips/base-files/etc/init.d/enablemodem | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/base-files/etc/init.d/enablemodem b/target/linux/ramips/base-files/etc/init.d/enablemodem index a7e6c2ef23..ba54cc4e6a 100755 --- a/target/linux/ramips/base-files/etc/init.d/enablemodem +++ b/target/linux/ramips/base-files/etc/init.d/enablemodem @@ -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 -- 2.25.1