projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29cc927
)
ramips: enablemodem: move /lib/ramips.sh to start()
author
Henryk Heisig
<hyniu@o2.pl>
Fri, 23 Dec 2016 14:05:33 +0000
(15:05 +0100)
committer
John Crispin
<john@phrozen.org>
Sat, 24 Dec 2016 05:51:59 +0000
(06:51 +0100)
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>
target/linux/ramips/base-files/etc/init.d/enablemodem
patch
|
blob
|
history
diff --git
a/target/linux/ramips/base-files/etc/init.d/enablemodem
b/target/linux/ramips/base-files/etc/init.d/enablemodem
index a7e6c2ef23a7cb869342c12c6e3746e02ec2ee03..ba54cc4e6a0ff94633412960bed7f6694caa6ebe 100755
(executable)
--- 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