Tidy scripts, clarify KernelSU/APatch hide files/directories

This commit is contained in:
osm0sis
2024-02-08 00:08:57 -04:00
parent 1a7c5103d1
commit bdd846add6
4 changed files with 5 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ if [ -n "$(resetprop ro.build.selinux)" ]; then
resetprop --delete ro.build.selinux
fi
# use toybox to protect *stat* access time reading
if [ "$(toybox cat /sys/fs/selinux/enforce)" == "0" ]; then
if [ "$(toybox cat /sys/fs/selinux/enforce)" = "0" ]; then
chmod 640 /sys/fs/selinux/enforce
chmod 440 /sys/fs/selinux/policy
fi
@@ -25,7 +25,7 @@ fi
# SafetyNet/Play Integrity
{
# must be set after boot_completed for various OEMs
until [ "$(getprop sys.boot_completed)" == "1" ]; do
until [ "$(getprop sys.boot_completed)" = "1" ]; do
sleep 1
done