Commit 477ff12c authored by vvb2060's avatar vvb2060 Committed by John Wu

print sepolicy rules dir

parent 9c09ad3b
...@@ -628,7 +628,15 @@ copy_sepolicy_rules() { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment