diff options
author | Filip Moc <lede@moc6.cz> | 2017-05-25 21:55:32 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-05-27 07:54:40 +0200 |
commit | 43e4e1f4a530dd9a03fdad55ef62fe9c379561bf (patch) | |
tree | 2942ac2f52067e03e3849510b538eee082b5d2c8 /target/linux/ramips/base-files | |
parent | a639cbfd00a47dc55b1e4cd47897fa0a3150d0e9 (diff) | |
download | upstream-43e4e1f4a530dd9a03fdad55ef62fe9c379561bf.tar.gz upstream-43e4e1f4a530dd9a03fdad55ef62fe9c379561bf.tar.bz2 upstream-43e4e1f4a530dd9a03fdad55ef62fe9c379561bf.zip |
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>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-x | target/linux/ramips/base-files/etc/init.d/enablemodem | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/target/linux/ramips/base-files/etc/init.d/enablemodem b/target/linux/ramips/base-files/etc/init.d/enablemodem deleted file mode 100755 index ba54cc4e6a..0000000000 --- a/target/linux/ramips/base-files/etc/init.d/enablemodem +++ /dev/null @@ -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 -} |