summaryrefslogtreecommitdiff
path: root/brilloemulator_arm/bsp/initnetwork.sh
diff options
context:
space:
mode:
Diffstat (limited to 'brilloemulator_arm/bsp/initnetwork.sh')
-rw-r--r--brilloemulator_arm/bsp/initnetwork.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/brilloemulator_arm/bsp/initnetwork.sh b/brilloemulator_arm/bsp/initnetwork.sh
index ed8b493..21074c2 100644
--- a/brilloemulator_arm/bsp/initnetwork.sh
+++ b/brilloemulator_arm/bsp/initnetwork.sh
@@ -2,6 +2,6 @@
# Setup networking when boot starts
ifconfig eth0 10.0.2.15 netmask 255.255.255.0 up
-route add default gw 10.0.2.2
+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