Merge pull request #92 from HuskyDG/script

Fix detect resetprop
This commit is contained in:
Marcos 2023-11-27 10:51:46 +01:00 committed by GitHub
commit 34b2550bba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
RESETPROP="${0%/*}/resetprop"
if [ -x "$RESETPROP" ]; then
if [ -e "$RESETPROP" ]; then
chmod 755 $RESETPROP
else
RESETPROP="resetprop"
@ -32,7 +32,7 @@ maybe_set_prop vendor.boot.mode recovery unknown
# Hiding SELinux | Permissive status
if [ -n "$(getprop ro.build.selinux)" ]; then
resetprop --delete ro.build.selinux
$RESETPROP --delete ro.build.selinux
fi
# Hiding SELinux | Use toybox to protect *stat* access time reading