commit | 4af483058cf8574f17c0a9dbbec5e3ef8b26f40f | [log] [tgz] |
---|---|---|
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | Thu Jul 18 15:41:06 2013 +0100 |
committer | Lars Greiss <kufikugel@googlemail.com> | Sun Aug 18 02:18:51 2013 +0200 |
tree | bb7818be70eb77f907df195a996bd455b6d57308 | |
parent | d1633c922fc024da3f4c5619a7648bf5db457248 [diff] |
selinux: Use a more reliable sentinel to flag /data labelling /data/anr isn't present on all devices, /data/system is Change-Id: Ifba71d073dc7b577911386cff316e8a19662cd0d
diff --git a/prebuilt/common/etc/init.d/50selinuxrelabel b/prebuilt/common/etc/init.d/50selinuxrelabel index 6e173df..3872452 100644 --- a/prebuilt/common/etc/init.d/50selinuxrelabel +++ b/prebuilt/common/etc/init.d/50selinuxrelabel
@@ -12,7 +12,7 @@ LABELSYS=0 # Test /data -ls -Zd /data/anr | grep -q unlabeled +ls -Zd /data/system | grep -q unlabeled if [ $? -eq 0 ]; then $L "userdata is unlabeled, fixing..." LABELDATA=1