aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorHenryk Heisig <hyniu@o2.pl>2016-12-23 15:05:33 +0100
committerJohn Crispin <john@phrozen.org>2016-12-24 06:51:59 +0100
commit3a6353d910fc1e9a9fdafbd85c96d96d8d43746a (patch)
treeb148a29b4ae31dad084e7ab2051a8c6bea189530 /target/linux
parent29cc927ef5a6d2f1e8de0d3d9fc67877aa4b6af7 (diff)
downloadupstream-3a6353d910fc1e9a9fdafbd85c96d96d8d43746a.tar.gz
upstream-3a6353d910fc1e9a9fdafbd85c96d96d8d43746a.tar.bz2
upstream-3a6353d910fc1e9a9fdafbd85c96d96d8d43746a.zip
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>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/init.d/enablemodem3
1 files changed, 2 insertions, 1 deletions
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