summaryrefslogtreecommitdiff
path: root/brilloemulator_arm/bsp/initnetwork.sh
blob: 21074c2537a0df64e9d5a2a3cb238e2512e14115 (plain)
1
2
3
4
5
6
7
#!/system/bin/sh

# Setup networking when boot starts
ifconfig eth0 10.0.2.15 netmask 255.255.255.0 up
ip route add default via 10.0.2.2
# Open up port 5555 for adb
iptables -I INPUT -p tcp --dport 5555 -j ACCEPT -w