Skip to content
Snippets Groups Projects
Unverified Commit 46419853 authored by shìwēi nguyen's avatar shìwēi nguyen Committed by GitHub
Browse files

Fix detect resetprop

parent 599c27e8
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -77,4 +77,4 @@ fi
check_resetprop ro.build.type user
check_resetprop ro.debuggable 0
check_resetprop ro.secure 1
}&
\ No newline at end of file
}&
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment