From a7bf39eb3c1206032857cf3b6fb247c5a653e3cd Mon Sep 17 00:00:00 2001 From: Talmid of Levi Date: Tue, 28 Nov 2023 16:16:32 -0500 Subject: [PATCH] on property run script --- wephone.rc | 2 +- wephone.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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