diff options
author | Miroslav Tisma <miroslav.tisma@imgtec.com> | 2015-06-04 15:23:19 +0200 |
---|---|---|
committer | bohu <bohu@google.com> | 2015-09-14 16:55:21 -0700 |
commit | 3ea472d45910dc4758dde13fde86e0ef87804f0f (patch) | |
tree | 18e505d0a7eadf400a894a83e4c86b051cc2e6c1 | |
parent | b82a006cf7db1d3790272279eeaa066827d5bf81 (diff) | |
download | device_generic_goldfish-3ea472d45910dc4758dde13fde86e0ef87804f0f.tar.gz device_generic_goldfish-3ea472d45910dc4758dde13fde86e0ef87804f0f.tar.bz2 device_generic_goldfish-3ea472d45910dc4758dde13fde86e0ef87804f0f.zip |
init.ranchu.rc: Add dhcpcd_eth0 service
This commit adds dhcpcd service for eth interface which enables
netwoking in the ranchu emulators. Since rild support is not
implemented yet in ranchu version, this is a working solution
for enabling the internet support.
bug: 24070972
(cherry-picked from aosp: 0668c61a8bc91f223c01ba8c9db11daff31b0fc0)
Change-Id: Icdc2ef8c7beec228d3ef54baa1da9319588ebb36
-rw-r--r-- | init.ranchu.rc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/init.ranchu.rc b/init.ranchu.rc index 1e9f1258..9d2008d8 100644 --- a/init.ranchu.rc +++ b/init.ranchu.rc @@ -41,6 +41,12 @@ on boot stop dund stop akmd +# enable dhcpcd on eth0 interface +service dhcpcd_eth0 /system/bin/dhcpcd -ABDKL + class main + disabled + oneshot + # enable Google-specific location features, # like NetworkLocationProvider and LocationCollector setprop ro.com.google.locationfeatures 1 |