2
0
forked from Ivasoft/openwrt

Move enablemodem from ramips to new package adb-enablemodem and make it used also by TL-MR6400

Signed-off-by: Filip Moc <lede@moc6.cz>
This commit is contained in:
Filip Moc
2017-05-25 21:55:32 +02:00
committed by John Crispin
parent a639cbfd00
commit 43e4e1f4a5
5 changed files with 92 additions and 19 deletions

View File

@@ -1,17 +0,0 @@
#!/bin/sh /etc/rc.common
START=99
start() {
. /lib/ramips.sh
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
}