projects
/
openwrt
/
staging
/
pepe2k.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: enablemodem: move /lib/ramips.sh to start()
[openwrt/staging/pepe2k.git]
/
target
/
linux
/
ramips
/
base-files
/
etc
/
init.d
/
enablemodem
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