From: Henryk Heisig Date: Fri, 23 Dec 2016 14:05:33 +0000 (+0100) Subject: ramips: enablemodem: move /lib/ramips.sh to start() X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3a6353d910fc1e9a9fdafbd85c96d96d8d43746a;p=librecmc%2Flibrecmc.git 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 --- 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