diff options
author | Henryk Heisig <hyniu@o2.pl> | 2016-12-23 15:05:33 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-12-24 06:51:59 +0100 |
commit | 3a6353d910fc1e9a9fdafbd85c96d96d8d43746a (patch) | |
tree | b148a29b4ae31dad084e7ab2051a8c6bea189530 /target | |
parent | 29cc927ef5a6d2f1e8de0d3d9fc67877aa4b6af7 (diff) | |
download | upstream-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')
-rwxr-xr-x | target/linux/ramips/base-files/etc/init.d/enablemodem | 3 |
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 |