summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinit.goldfish.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.goldfish.sh b/init.goldfish.sh
index ece75b4..a2e6d46 100755
--- a/init.goldfish.sh
+++ b/init.goldfish.sh
@@ -2,7 +2,7 @@
# 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 dev eth0
+ip route add default via 10.0.2.2 dev eth0 metric 0
# ro.kernel.android.qemud is normally set when we
# want the RIL (radio interface layer) to talk to