Removed unused lines
This commit is contained in:
parent
9adec7fcfd
commit
d9389a48c6
|
@ -55,15 +55,9 @@ function enable_proxy_if_needed () {
|
||||||
echo "Enable proxy on Android emulator. Please make sure that docker-container has internet access!"
|
echo "Enable proxy on Android emulator. Please make sure that docker-container has internet access!"
|
||||||
adb root
|
adb root
|
||||||
|
|
||||||
echo "Mount system to read write access"
|
echo "Set up the Proxy"
|
||||||
adb shell "mount -o rw,remount /system"
|
|
||||||
|
|
||||||
echo "Updateing Proxy"
|
|
||||||
|
|
||||||
adb shell "content update --uri content://telephony/carriers --bind proxy:s:"${p[0]}" --bind port:s:"${p[1]}" --where "mcc=310" --where "mnc=260""
|
adb shell "content update --uri content://telephony/carriers --bind proxy:s:"${p[0]}" --bind port:s:"${p[1]}" --where "mcc=310" --where "mnc=260""
|
||||||
|
|
||||||
echo "remount system back to read only"
|
|
||||||
adb shell "mount -o ro,remount /system"
|
|
||||||
adb unroot
|
adb unroot
|
||||||
else
|
else
|
||||||
echo "Please use http:// in the beginning!"
|
echo "Please use http:// in the beginning!"
|
||||||
|
|
Loading…
Reference in a new issue