summaryrefslogtreecommitdiffstats
path: root/etc/init.rc
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-03-05 01:03:47 +0100
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-03-05 01:03:47 +0100
commit1731f2980bfadb29105ffd566dd78885889501d8 (patch)
treefb7b6f5a5317e34d99b36f564b29bf966c8eb5d3 /etc/init.rc
parentrecovery: Handle devices without /cache partition. (diff)
parentRestore labels on /postinstall during recovery. (diff)
downloadandroid_bootable_recovery-1731f2980bfadb29105ffd566dd78885889501d8.tar
android_bootable_recovery-1731f2980bfadb29105ffd566dd78885889501d8.tar.gz
android_bootable_recovery-1731f2980bfadb29105ffd566dd78885889501d8.tar.bz2
android_bootable_recovery-1731f2980bfadb29105ffd566dd78885889501d8.tar.lz
android_bootable_recovery-1731f2980bfadb29105ffd566dd78885889501d8.tar.xz
android_bootable_recovery-1731f2980bfadb29105ffd566dd78885889501d8.tar.zst
android_bootable_recovery-1731f2980bfadb29105ffd566dd78885889501d8.zip
Diffstat (limited to 'etc/init.rc')
-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