mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
c8043137bb
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>
17 lines
333 B
Bash
Executable File
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
|
|
}
|