summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2014-07-15 00:47:11 +0530
committerAmit Pundir <amit.pundir@linaro.org>2014-07-15 00:47:11 +0530
commit635b20c47a63490463d65ac53178c7633b256499 (patch)
treef12f49dcfc1383cc30517c7f77a84d3caa1efa41
parent835efb0d2a07550d1d72911b7878faaddbbaa215 (diff)
downloadfvp-armv8-635b20c47a63490463d65ac53178c7633b256499.tar.gz
init.rc: rebase AOSP init.rc changes
Change-Id: I4ebd33173dd2a4a2d004960319fd655ed7c1da5e Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--init.rc11
1 files changed, 2 insertions, 9 deletions
diff --git a/init.rc b/init.rc
index 1318b5d..77cc452 100644
--- a/init.rc
+++ b/init.rc
@@ -189,13 +189,11 @@ on post-fs
chown system cache /cache
chmod 0770 /cache
# We restorecon /cache in case the cache partition has been reset.
- restorecon /cache
+ restorecon_recursive /cache
# This may have been created by the recovery system with odd permissions
chown system cache /cache/recovery
chmod 0770 /cache/recovery
- # This may have been created by the recovery system with the wrong context.
- restorecon /cache/recovery
#change permissions on vmallocinfo so we can grab it from bugreports
chown root log /proc/vmallocinfo
@@ -251,6 +249,7 @@ on post-fs-data
mkdir /data/misc/bluetooth 0770 system system
mkdir /data/misc/keystore 0700 keystore keystore
mkdir /data/misc/keychain 0771 system system
+ mkdir /data/misc/net 0750 root shell
mkdir /data/misc/radio 0770 system radio
mkdir /data/misc/sms 0770 system radio
mkdir /data/misc/zoneinfo 0775 system system
@@ -276,8 +275,6 @@ on post-fs-data
mkdir /data/app-lib 0771 system system
mkdir /data/app 0771 system system
mkdir /data/property 0700 root root
- mkdir /data/ssh 0750 root shell
- mkdir /data/ssh/empty 0700 root root
# create dalvik-cache, so as to enforce our permissions
mkdir /data/dalvik-cache 0771 system system
@@ -608,10 +605,6 @@ service dumpstate /system/bin/dumpstate -s
disabled
oneshot
-service sshd /system/bin/start-ssh
- class main
- disabled
-
service mdnsd /system/bin/mdnsd
class main
user mdnsr