diff options
author | attn1 <attn1.repo@gmail.com> | 2011-03-04 08:11:43 -0500 |
---|---|---|
committer | attn1 <attn1.repo@gmail.com> | 2011-03-04 08:11:43 -0500 |
commit | e39accc8e4eb55fbd31215a20a3bb97b290ef305 (patch) | |
tree | 1ceccf9d84d113bd33b3977173ca87bc092d56d7 /prebuilt/common | |
parent | e3a79924cea5addfab2eab43ce01ed6c53af25ac (diff) | |
download | vendor_replicant-e39accc8e4eb55fbd31215a20a3bb97b290ef305.zip vendor_replicant-e39accc8e4eb55fbd31215a20a3bb97b290ef305.tar.gz vendor_replicant-e39accc8e4eb55fbd31215a20a3bb97b290ef305.tar.bz2 |
Add Telus NAM config; use egrep where more appropriate than grep
Change-Id: If60b85fbb5e92a9bb61a5ec1f9129d2d4da0c40f
Diffstat (limited to 'prebuilt/common')
-rw-r--r-- | prebuilt/common/bin/modelid_cfg.sh | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/prebuilt/common/bin/modelid_cfg.sh b/prebuilt/common/bin/modelid_cfg.sh index b4e9252..8a94592 100644 --- a/prebuilt/common/bin/modelid_cfg.sh +++ b/prebuilt/common/bin/modelid_cfg.sh @@ -13,25 +13,7 @@ kineto=/system/app/MS-HTCVISION-KNT20-02.apk rm_kineto=y -cat /proc/cmdline|grep -q androidboot.mid=PC1010000 -if [ $? = 0 ]; - then - rm_kineto=n -fi - -cat /proc/cmdline|grep -q androidboot.mid=PB9910000 -if [ $? = 0 ]; - then - rm_kineto=n -fi - -cat /proc/cmdline|grep -q androidboot.mid=PD1510000 -if [ $? = 0 ]; - then - rm_kineto=n -fi - -cat /proc/cmdline|grep -q androidboot.mid=PB6510000 +cat /proc/cmdline|egrep -q '(PC1010000)|(PB9910000)|(PD1510000)|(PB6510000)' if [ $? = 0 ]; then rm_kineto=n @@ -55,11 +37,15 @@ fi # # Check for spade; if NAM model update DSP and GPS config # +# NAM Models: +# DHD AT&T MODELID PD9812000 +# DHD TELUS MODELID PD9814000 +# cat /proc/cmdline | grep -q spade if [ $? = 0 ]; then -cat /proc/cmdline | grep -q androidboot.mid=PD9812000 +cat /proc/cmdline | egrep -q '(PD9812000)|(PD9814000)' if [ $? = 0 ]; then mv /system/etc/nam/*MCLK.txt /system/etc/soundimage/ |