Last active
August 29, 2015 14:07
-
-
Save SauloSilva/1f3377f4b850af43b748 to your computer and use it in GitHub Desktop.
host android
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create file adb-hosts | |
192.168.0.133 adm.dev | |
192.168.0.133 api.clickjogos.dev | |
192.168.0.133 clickjogos.dev | |
192.168.0.133 connect.clickjogos.dev | |
192.168.0.133 devcenter.dev | |
192.168.0.133 jdm.dev | |
192.168.0.133 m.clickjogos.dev | |
192.168.0.133 sso_example.clickjogos.dev | |
192.168.0.133 clicktracker.clickjogos.dev | |
192.168.0.133 clicktracker.nzn.dev | |
192.168.0.133 joguinhos.dev | |
192.168.0.133 accounts.dev | |
192.168.0.133 accounts.gruponzn.dev | |
192.168.0.133 img.dummy.com | |
192.168.0.133 api.mobile.dev | |
# create file push-hosts.sh | |
#!/usr/bin/env bash | |
adb remount | |
adb push adb-hosts /system/etc/hosts | |
# execute terminal | |
$ ./push-hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment