From e31f9ceec87486898320f6a0e19c14d416a9d50b Mon Sep 17 00:00:00 2001 From: Hackintosh 5 Date: Fri, 4 Jan 2019 15:46:51 +0000 Subject: [PATCH] Revert "Add more specific check for correct model" This reverts commit 91a40666032222ae214c2012f264b1e71f167dd9. --- rw-system.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rw-system.sh b/rw-system.sh index 7504d46..6f1857a 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -226,10 +226,8 @@ if getprop ro.vendor.build.fingerprint | grep -qE -e ".*(crown|star)[q2]*lte.*" fi if getprop ro.vendor.build.fingerprint |grep -iq -E -e 'huawei|honor' || getprop persist.sys.overlay.huawei |grep -iq -E -e 'true' ; then - boardname=$(getprop ro.board.boardname | cut -d "_" -f1 | tr '[:upper:]' '[:lower:]') - modeltype=$(getprop ro.board.boardname | cut -d "_" -f2 | tr '[:lower:]' '[:upper:]') - mount -o bind /product/etc/nfc/libnfc-nxp_${boardname}_${modeltype}.conf /system/etc/libnfc-nxp.conf - mount -o bind /product/etc/nfc/libnfc_brcm_${boardname}_${modeltype}.conf /system/etc/libnfc-brcm.conf + mount -o bind /product/etc/nfc/libnfc-nxp_*_*.conf /system/etc/libnfc-nxp.conf + mount -o bind /product/etc/nfc/libnfc_brcm_*_*.conf /system/etc/libnfc-brcm.conf mount -o bind /system/phh/libnfc-nci-huawei.conf /system/etc/libnfc-nci.conf fi