android_system_core/rootdir/etc
Ron Munitz b1b45b9bd4 Added net.dns1 prop for emulator, as Android emulator ignores it by default.
This commit sets up the system property which is actually used by the
Connectivity Service
(frameworks/base/services/java/com/android/server/ConnectivityService.java).
It fixes an (obsolete?) convention where the dns was affected directly by
the interface (i.e. "net.eth0.dns1=10.0.2.3"), which causes the Android
Emulator (goldfish) to ignore this value, and effectively have no DNS
resolving at all.

An immediate fix can be either add reference to net.eth%s.dns%s in the
ConnectivityService and possibly on the dhcp code as well which would be
bloated, or just stick to the apparant new convention.

I chose the latter as a one line fix which gets the job done.

Change-Id: Id4364129e9a82c1f48403068a837aca54de07944
2013-05-17 17:58:02 +00:00
..
dbus.conf auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
hosts auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
init.goldfish.rc Added net.dns1 prop for emulator, as Android emulator ignores it by default. 2013-05-17 17:58:02 +00:00
init.goldfish.sh emulator: Move qemu-props to core service 2011-09-16 00:25:16 +02:00
init.testmenu auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
mountd.conf auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
ueventd.goldfish.rc resolved conflicts for merge of b013bfc1 to honeycomb-plus-aosp 2011-04-29 13:31:31 +02:00
vold.fstab generic_rootdir: vold_fstab: Change '/sdcard' -> '/mnt/sdcard' 2010-02-19 18:38:28 -08:00