summaryrefslogtreecommitdiff
path: root/brilloemulator_x86/bsp/initnetwork.sh
diff options
context:
space:
mode:
Diffstat (limited to 'brilloemulator_x86/bsp/initnetwork.sh')
-rw-r--r--brilloemulator_x86/bsp/initnetwork.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/brilloemulator_x86/bsp/initnetwork.sh b/brilloemulator_x86/bsp/initnetwork.sh
index 4c6be60..73831f8 100644
--- a/brilloemulator_x86/bsp/initnetwork.sh
+++ b/brilloemulator_x86/bsp/initnetwork.sh
@@ -2,6 +2,6 @@
# Set up 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