summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorrepo sync <gcondra@google.com>2013-05-17 12:46:00 -0700
committerrepo sync <gcondra@google.com>2013-05-17 12:46:00 -0700
commit52351300d156826bf22c493828571f45a1cea16a (patch)
treec59262e650b62b83efa96eacf84b147d0f52379a /rootdir
parent921be8b6568df0057c4eacbac2e1022b71e09620 (diff)
downloadsystem_core-52351300d156826bf22c493828571f45a1cea16a.zip
system_core-52351300d156826bf22c493828571f45a1cea16a.tar.gz
system_core-52351300d156826bf22c493828571f45a1cea16a.tar.bz2
Revert "Add a version check for SELinux policy on device."
This reverts commit 921be8b6568df0057c4eacbac2e1022b71e09620.
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 4e8ff60..4b4408f 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -177,6 +177,9 @@ on post-fs
mkdir /cache/lost+found 0770 root root
on post-fs-data
+ # reload SELinux based on what we find on the data partition
+ selinux_reload_policy
+
# We chown/chmod /data again so because mount is run as root + defaults
chown system system /data
chmod 0771 /data
@@ -260,9 +263,6 @@ on post-fs-data
#setprop vold.post_fs_data_done 1
on boot
-# reload SELinux policy to make sure we use the most up-to-date one
- selinux_reload_policy
-
# basic network init
ifup lo
hostname localhost