projects
/
lede-git
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ramips: Add support to TP-Link Archer MR200
[lede-git/.git]
/
target
/
linux
/
ramips
/
base-files
/
etc
/
init.d
/
enablemodem
1
#!/bin/sh /etc/rc.common
2
. /lib/ramips.sh
3
4
START=99
5
6
start() {
7
local board=$(ramips_board_name)
8
if [ $board = "mr200" ]; then
9
adb wait-for-device
10
adb shell chmod +x /WEBSERVER/www/cgi-bin/*
11
adb shell httpd -h /WEBSERVER/www/ &
12
echo "2357 000d" > /sys/bus/usb-serial/drivers/option1/new_id
13
sleep 2
14
adb kill-server
15
fi
16
}