Simplify the exynos grep command even further and remove some whitespace

This commit is contained in:
Alberto Ponces 2020-05-14 11:41:08 +01:00
parent d6da9f1fec
commit ef30da0aae
1 changed files with 4 additions and 4 deletions

View File

@ -270,11 +270,11 @@ if getprop ro.vendor.build.fingerprint | grep -q -i \
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
fi
if getprop ro.vendor.product.device |grep -iq -e RMX1801 -e RMX1803 -e RMX1807;then
if getprop ro.vendor.product.device |grep -iq -e RMX1801 -e RMX1803 -e RMX1807;then
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
fi
if getprop ro.build.overlay.deviceid |grep -q -e CPH1859 -e CPH1861 -e RMX1811;then
if getprop ro.build.overlay.deviceid |grep -q -e CPH1859 -e CPH1861 -e RMX1811;then
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
fi
@ -386,14 +386,14 @@ if busybox_phh unzip -p /vendor/app/ims/ims.apk classes.dex | grep -qF -e Landro
mount -o bind /system/phh/empty /vendor/app/ims/ims.apk
fi
if getprop ro.hardware | grep -q -e samsungexynos -e exynos; then
if getprop ro.hardware | grep -qF exynos; then
setprop debug.sf.latch_unsignaled 1
fi
if getprop ro.product.model | grep -qF ANE; then
setprop debug.sf.latch_unsignaled 1
fi
if getprop ro.vendor.product.device | grep -q -e nora -e rhannah; then
setprop debug.sf.latch_unsignaled 1
fi