diff --git a/wephone.rc b/wephone.rc index 89e188b..9c01f38 100644 --- a/wephone.rc +++ b/wephone.rc @@ -1,2 +1,2 @@ -on boot +on property:init.svc.vendor.hwcomposer-2-1=running exec - root -- /system/bin/wephone.sh diff --git a/wephone.sh b/wephone.sh index e519941..5af625c 100755 --- a/wephone.sh +++ b/wephone.sh @@ -3,5 +3,5 @@ if getprop ro.vendor.build.fingerprint | grep -iq -e S22FLIP; then setprop ro.vendor.gsi.image_running false setprop ctl.start vendor.hwcomposer-2-1 - touch /mnt/banana && echo "1" > /mnt/banana + touch /mnt/banana fi