mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 02:34:44 +00:00
Add backward compat paths
This commit is contained in:
parent
fd4faf59b8
commit
8b4008798f
@ -153,7 +153,7 @@ grep_prop() {
|
||||
getvar() {
|
||||
local VARNAME=$1
|
||||
local VALUE=
|
||||
VALUE=`grep_prop $VARNAME /sbin/.magisk/config /data/.magisk /cache/.magisk /system/.magisk`
|
||||
VALUE=`grep_prop $VARNAME /sbin/.magisk/config /.backup/.magisk /data/.magisk /cache/.magisk`
|
||||
[ ! -z $VALUE ] && eval $VARNAME=\$VALUE
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user