summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu J. Poirier <mathieu.poirier@linaro.org>2011-09-15 14:35:56 -0600
committerMathieu J. Poirier <mathieu.poirier@linaro.org>2011-09-16 12:43:18 -0600
commit5e841278ca0f34e41a4206f1c0b6db93db42d2ec (patch)
treebb40ca804b81efde823d156186960aad5d91c497
parent62ee1c621dadd95418dead4cf71c3eb6683251bf (diff)
Adding Ethernet Configuration Manager
This is a port from www.android-x86.org and is only compatible with IPv4. Change-Id: Ia7490f5d6e6a35f592e569b391b08bdb106d4237 Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
-rw-r--r--init.rc9
1 files changed, 9 insertions, 0 deletions
diff --git a/init.rc b/init.rc
index b2fbf47..c151d7f 100644
--- a/init.rc
+++ b/init.rc
@@ -162,6 +162,10 @@ on post-fs
mkdir /data/app 0771 system system
mkdir /data/property 0700 root root
+ # Setup paths used for socket communication with the dhcp daemon(dhcpd)
+ mkdir /data/misc/dhcp 0770 dhcp dhcp
+ chown dhcp dhcp /data/misc/dhcp
+
# create dalvik-cache and double-check the perms
mkdir /data/dalvik-cache 0771 system system
chown system system /data/dalvik-cache
@@ -310,6 +314,11 @@ on property:persist.service.adb.enable=1
on property:persist.service.adb.enable=0
stop adbd
+service dhcpcd_eth0 /system/bin/dhcpcd -dABKL
+ group dhcp
+ disabled
+ oneshot
+
service servicemanager /system/bin/servicemanager
user system
critical