am 22644e52: Merge "Change pre-recovery into two services"

* commit '22644e52f049b00163b04ecb8f221c52701aa0d6':
  Change pre-recovery into two services
This commit is contained in:
Tao Bao 2015-06-10 00:51:29 +00:00 committed by Android Git Automerger
commit 67633d3dc3
1 changed files with 9 additions and 4 deletions

View File

@ -194,9 +194,9 @@ on post-fs
# We restorecon /cache in case the cache partition has been reset.
restorecon_recursive /cache
# This may have been created by the recovery system with odd permissions
chown system cache /cache/recovery
chmod 0770 /cache/recovery
# Create /cache/recovery in case it's not there. It'll also fix the odd
# permissions if created by the recovery system.
mkdir /cache/recovery 0770 system cache
#change permissions on vmallocinfo so we can grab it from bugreports
chown root log /proc/vmallocinfo
@ -640,7 +640,12 @@ service mdnsd /system/bin/mdnsd
disabled
oneshot
service pre-recovery /system/bin/uncrypt
service uncrypt /system/bin/uncrypt
class main
disabled
oneshot
service pre-recovery /system/bin/uncrypt --reboot
class main
disabled
oneshot