test if
This commit is contained in:
parent
38f3cc76e4
commit
87967614ed
@ -1,11 +1,9 @@
|
|||||||
#!/system/bin/sh
|
#!/system/bin/sh
|
||||||
|
|
||||||
if getprop ro.vendor.build.fingerprint | grep -iq -e S22FLIP; then
|
if getprop ro.vendor.build.fingerprint | grep -iq -e S22FLIP; then
|
||||||
if getprop ro.vendor.gsi.image_running | grep -iq -F false; then
|
if ! getprop ro.vendor.gsi.image_running | grep -iq -F false; then
|
||||||
touch /mnt/banana
|
|
||||||
else
|
|
||||||
setprop ro.vendor.gsi.image_running false
|
setprop ro.vendor.gsi.image_running false
|
||||||
setprop ctl.restart vendor.hwcomposer-2-1
|
setprop ctl.restart vendor.hwcomposer-2-1
|
||||||
touch /mnt/apples
|
touch /mnt/banana
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user