aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2012-03-27 16:59:27 -0700
committerRobert Greenwalt <rgreenwalt@google.com>2012-04-06 15:38:21 -0700
commit1d91fcf7c0a31d27097b196579a37873ba1c0934 (patch)
tree198e0ee95c9be4951611388f80ec170e30c94db6 /rootdir
parentc8583c680a62dcd8f66952a71cd986f477aa1241 (diff)
downloadsystem_core-1d91fcf7c0a31d27097b196579a37873ba1c0934.tar.gz
system_core-1d91fcf7c0a31d27097b196579a37873ba1c0934.tar.bz2
system_core-1d91fcf7c0a31d27097b196579a37873ba1c0934.zip
Add MDNS service
Adds both the new service and another socket for netd. Change-Id: Ie0271a2c48aa55217ae3fcdcc8e121b86b5a589b
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc10
1 files changed, 10 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 71ec3fad..a0e4d19b 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -398,6 +398,7 @@ service netd /system/bin/netd
class main
socket netd stream 0660 root system
socket dnsproxyd stream 0660 root inet
+ socket mdns stream 0660 root system
service debuggerd /system/bin/debuggerd
class main
@@ -495,3 +496,12 @@ service dumpstate /system/bin/dumpstate -s
service sshd /system/bin/start-ssh
class main
disabled
+
+service mdnsd /system/bin/mdnsd
+ class main
+ user mdnsr
+ group inet net_raw
+ socket mdnsd stream 0660 mdnsr inet
+ disabled
+ oneshot
+