Let's try it this way
This commit is contained in:
parent
bc98308d88
commit
d0c4fd7003
@ -1,3 +1,9 @@
|
|||||||
#!/system/bin/sh
|
#!/system/bin/sh
|
||||||
|
|
||||||
touch /mnt/catscreen
|
touch /mnt/cats22flip
|
||||||
|
|
||||||
|
if getprop debug.tracing.battery_stats.screen |grep -iq 0;then
|
||||||
|
echo "0" > /sys/class/leds/keyboard_light/brightness
|
||||||
|
else
|
||||||
|
echo "255" > /sys/class/leds/keyboard_light/brightness
|
||||||
|
fi
|
@ -2,7 +2,7 @@ on boot
|
|||||||
exec - root -- /system/bin/wephone.sh
|
exec - root -- /system/bin/wephone.sh
|
||||||
|
|
||||||
on property:debug.tracing.battery_stats.screen=1
|
on property:debug.tracing.battery_stats.screen=1
|
||||||
exec - root -- echo "255" > /sys/class/leds/keyboard_light/brightness
|
exec - root -- /system/bin/catscreen.sh
|
||||||
|
|
||||||
on property:debug.tracing.battery_stats.screen=0
|
on property:debug.tracing.battery_stats.screen=0
|
||||||
exec - root -- echo "0" > /sys/class/leds/keyboard_light/brightness
|
exec - root -- /system/bin/catscreen.sh
|
Loading…
x
Reference in New Issue
Block a user