Skip to content

Commit

Permalink
Reverse bluetooth tethering: dhcpcd and default dns
Browse files Browse the repository at this point in the history
Change-Id: I6acd2d0e4e24f99a6e9c32c1162e3a6e59d4ebd2
  • Loading branch information
sbradymobile committed Mar 6, 2012
1 parent 550f925 commit 332607c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion galaxytab.mk
Expand Up @@ -145,7 +145,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.ril.enable.managed.roaming=1 \
ro.ril.oem.nosim.ecclist=911,112,999,000,08,118,120,122,110,119,995 \
ro.ril.emc.mode=2 \
ro.sf.hwrotation=90
ro.sf.hwrotation=90

# These are the hardware-specific settings that are stored in system properties.
# Note that the only such settings should be the ones that are too low-level to
Expand All @@ -171,6 +171,11 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.dexopt-data-only=1

# Use Google dns servers if the interface does not define them
PRODUCT_PROPERTY_OVERRIDES += \
net.dns1=8.8.8.8 \
net.dns2=8.8.4.4

# we have enough storage space to hold precise GC data
PRODUCT_TAGS += dalvik.gc.type-precise

Expand Down
5 changes: 5 additions & 0 deletions init.rc
Expand Up @@ -771,6 +771,11 @@ service dbus /system/bin/dbus-daemon --system --nofork
group bluetooth net_bt_admin

# bluetooth_bnep
service dhcpcd_bnep0 /system/bin/dhcpcd -ABKL
class main
disabled
oneshot

service iprenew_bnep0 /system/bin/dhcpcd -n
class main
disabled
Expand Down

0 comments on commit 332607c

Please sign in to comment.