forked from Ivasoft/openwrt
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>
This commit is contained in:
committed by
John Crispin
parent
190ee7d86b
commit
c8043137bb
16
target/linux/ramips/base-files/etc/init.d/enablemodem
Executable file
16
target/linux/ramips/base-files/etc/init.d/enablemodem
Executable file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user