openwrt/target/linux/ramips/base-files/etc/init.d/enablemodem
Henryk Heisig c8043137bb 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>
2016-12-22 15:03:30 +01:00

17 lines
333 B
Bash
Executable File

#!/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
}