diff options
author | Henryk Heisig <hyniu@o2.pl> | 2016-09-24 21:41:43 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-12-22 15:03:30 +0100 |
commit | c8043137bbd323b1490ae8613eab915ba9c138ee (patch) | |
tree | 6ebd7b34943ad84fe7df3a008a03a319ccdf197c /target/linux/ramips/base-files/etc/init.d | |
parent | 190ee7d86b450083fea4236d588d0d88a50e1311 (diff) | |
download | upstream-c8043137bbd323b1490ae8613eab915ba9c138ee.tar.gz upstream-c8043137bbd323b1490ae8613eab915ba9c138ee.tar.bz2 upstream-c8043137bbd323b1490ae8613eab915ba9c138ee.zip |
ramips: Add support to TP-Link Archer MR200
CPU: MT7620N 580MHz
Flash: 8MB
RAM: 64MB
build-in modem 3G/4G
four ethernet port 10/100Mbps
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
Diffstat (limited to 'target/linux/ramips/base-files/etc/init.d')
-rwxr-xr-x | target/linux/ramips/base-files/etc/init.d/enablemodem | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/init.d/enablemodem b/target/linux/ramips/base-files/etc/init.d/enablemodem new file mode 100755 index 0000000000..a7e6c2ef23 --- /dev/null +++ b/target/linux/ramips/base-files/etc/init.d/enablemodem @@ -0,0 +1,16 @@ +#!/bin/sh /etc/rc.common +. /lib/ramips.sh + +START=99 + +start() { + local board=$(ramips_board_name) + if [ $board = "mr200" ]; then + adb wait-for-device + adb shell chmod +x /WEBSERVER/www/cgi-bin/* + adb shell httpd -h /WEBSERVER/www/ & + echo "2357 000d" > /sys/bus/usb-serial/drivers/option1/new_id + sleep 2 + adb kill-server + fi +} |