Commit 8d846993 authored by topjohnwu's avatar topjohnwu

Load system.prop; longer waiting time

parent 1f846262
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
LOGFILE=/cache/magisk.log LOGFILE=/cache/magisk.log
IMG=/data/magisk.img IMG=/data/magisk.img
# BLACKLIST="/system/lib /system/lib64 /system/etc /system/framework /vendor/lib /vendor/lib64"
WHITELIST="/system/app /system/priv-app /system/bin" WHITELIST="/system/app /system/priv-app /system/bin"
MOUNTPOINT=/magisk MOUNTPOINT=/magisk
...@@ -366,6 +365,8 @@ case $1 in ...@@ -366,6 +365,8 @@ case $1 in
# Travel through all mods # Travel through all mods
for MOD in $MOUNTPOINT/* ; do for MOD in $MOUNTPOINT/* ; do
# Read in defined system props
[ -f $MOD/system.prop ] && /data/magisk/resetprop --file $MOD/system.prop
if [ -f $MOD/auto_mount -a -d $MOD/system -a ! -f $MOD/disable ]; then if [ -f $MOD/auto_mount -a -d $MOD/system -a ! -f $MOD/disable ]; then
TRAVEL_ROOT=$MOD TRAVEL_ROOT=$MOD
(travel system) (travel system)
......
...@@ -7,7 +7,7 @@ on post-fs ...@@ -7,7 +7,7 @@ on post-fs
on post-fs-data on post-fs-data
start magisk_pfsd start magisk_pfsd
wait /dev/.magisk.unblock 40 wait /dev/.magisk.unblock 60
rm /dev/.magisk.unblock rm /dev/.magisk.unblock
on property:magisk.restart_pfsd=1 on property:magisk.restart_pfsd=1
......
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