Load system.prop; longer waiting time

This commit is contained in:
topjohnwu 2017-01-03 01:55:19 +08:00
parent 1f84626278
commit 8d846993ee
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,6 @@
LOGFILE=/cache/magisk.log
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"
MOUNTPOINT=/magisk
@ -366,6 +365,8 @@ case $1 in
# Travel through all mods
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
TRAVEL_ROOT=$MOD
(travel system)

View File

@ -7,7 +7,7 @@ on post-fs
on post-fs-data
start magisk_pfsd
wait /dev/.magisk.unblock 40
wait /dev/.magisk.unblock 60
rm /dev/.magisk.unblock
on property:magisk.restart_pfsd=1