mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-01-11 18:33:37 +00:00
print sepolicy rules dir
This commit is contained in:
parent
9c09ad3b62
commit
477ff12cde
@ -628,7 +628,15 @@ copy_sepolicy_rules() {
|
|||||||
elif grep -q ' /mnt/vendor/persist ' /proc/mounts; then
|
elif grep -q ' /mnt/vendor/persist ' /proc/mounts; then
|
||||||
RULESDIR=/mnt/vendor/persist/magisk
|
RULESDIR=/mnt/vendor/persist/magisk
|
||||||
else
|
else
|
||||||
return
|
ui_print "- Unable to find sepolicy rules dir"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d ${RULESDIR%/magisk} ]; then
|
||||||
|
ui_print "- Sepolicy rules dir is ${RULESDIR%/magisk}"
|
||||||
|
else
|
||||||
|
ui_print "- Sepolicy rules dir ${RULESDIR%/magisk} not found"
|
||||||
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Copy all enabled sepolicy.rule
|
# Copy all enabled sepolicy.rule
|
||||||
|
Loading…
x
Reference in New Issue
Block a user