Reorganize slightly and add missing props

This commit is contained in:
osm0sis
2024-01-08 14:03:54 -04:00
parent d7090f3f73
commit a9630901b3
2 changed files with 12 additions and 3 deletions

View File

@@ -9,6 +9,8 @@ resetprop_if_match ro.boot.mode recovery unknown
resetprop_if_match vendor.boot.mode recovery unknown
# SELinux
resetprop_if_diff ro.boot.selinux enforcing
# use delete since it can be 0 or 1 for enforcing depending on OEM
if [ -n "$(resetprop ro.build.selinux)" ]; then
resetprop --delete ro.build.selinux
fi