Add core props support

This commit is contained in:
topjohnwu 2017-03-30 02:47:40 +08:00
parent 67f347f880
commit 2e185f4ec9

View File

@ -367,6 +367,14 @@ case $1 in
log_print "* Running post-fs-data.d"
general_scripts post-fs-data
log_print "* Loading core props"
for PROP in $COREDIR/props/* ; do
if [ -f $PROP ]; then
log_print "Load prop: $PROP"
$MAGISKBIN/resetprop --file $PROP
fi
done
# Exit if disabled
[ -f $DISABLEFILE ] && unblock