Load system.prop; longer waiting time
This commit is contained in:
parent
1f84626278
commit
8d846993ee
@ -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
|
|||||||
|
|
||||||
# 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
|
|||||||
|
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user