summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-03-04 06:45:27 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-03-04 06:45:27 +0100
commitf6ffefb11690ca3604df7c8c0ddda74387d26eba (patch)
tree5e6ac380857ab069abb742205d17e8f67d6e3600 /etc
parentMerge "Remove dumpkey build guards after completing code move." (diff)
parentMerge "Restore labels on /postinstall during recovery." (diff)
downloadandroid_bootable_recovery-f6ffefb11690ca3604df7c8c0ddda74387d26eba.tar
android_bootable_recovery-f6ffefb11690ca3604df7c8c0ddda74387d26eba.tar.gz
android_bootable_recovery-f6ffefb11690ca3604df7c8c0ddda74387d26eba.tar.bz2
android_bootable_recovery-f6ffefb11690ca3604df7c8c0ddda74387d26eba.tar.lz
android_bootable_recovery-f6ffefb11690ca3604df7c8c0ddda74387d26eba.tar.xz
android_bootable_recovery-f6ffefb11690ca3604df7c8c0ddda74387d26eba.tar.zst
android_bootable_recovery-f6ffefb11690ca3604df7c8c0ddda74387d26eba.zip
Diffstat (limited to 'etc')
-rw-r--r--etc/init.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/init.rc b/etc/init.rc
index dc1865986..5915b8d80 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -1,6 +1,9 @@
import /init.recovery.${ro.hardware}.rc
on early-init
+ # Set the security context of /postinstall if present.
+ restorecon /postinstall
+
start ueventd
start healthd