diff --git a/wephone.sh b/wephone.sh index 48779ba..28035a3 100755 --- a/wephone.sh +++ b/wephone.sh @@ -1,9 +1,11 @@ #!/system/bin/sh if getprop ro.vendor.build.fingerprint | grep -iq -e S22FLIP; then - if getprop ro.vendor.gsi.image_running | awk '!/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 ctl.restart vendor.hwcomposer-2-1 - touch /mnt/banana + touch /mnt/apples fi fi