Merge "Recheck /data for selinux labeling" into cm-11.0
This commit is contained in:
commit
b1b7a372ff
@ -19,6 +19,13 @@ if [ $? -eq 0 ]; then
|
|||||||
LABELDATA=1
|
LABELDATA=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Recheck other files under /data
|
||||||
|
ls -Z /data/misc/wifi/wpa_supplicant.conf | grep -q "wifi_"
|
||||||
|
if [ $? -eq 1 ]; then
|
||||||
|
$L "data is unlabeled, fixing..."
|
||||||
|
LABELDATA=1
|
||||||
|
fi
|
||||||
|
|
||||||
ls -Z /system/bin/surfaceflinger | grep -q unlabeled
|
ls -Z /system/bin/surfaceflinger | grep -q unlabeled
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
$L "system is unlabeled, fixing... (You really should update your recovery)"
|
$L "system is unlabeled, fixing... (You really should update your recovery)"
|
||||||
|
Loading…
Reference in New Issue
Block a user