Merge "Add Telus NAM config; use egrep where more appropriate than grep" into gingerbread

This commit is contained in:
Steve Kondik 2011-03-04 22:06:58 +00:00 committed by Gerrit Code Review
commit 4e2d1d1168

View File

@ -13,25 +13,7 @@
kineto=/system/app/MS-HTCVISION-KNT20-02.apk kineto=/system/app/MS-HTCVISION-KNT20-02.apk
rm_kineto=y rm_kineto=y
cat /proc/cmdline|grep -q androidboot.mid=PC1010000 cat /proc/cmdline|egrep -q '(PC1010000)|(PB9910000)|(PD1510000)|(PB6510000)'
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
if [ $? = 0 ]; if [ $? = 0 ];
then then
rm_kineto=n rm_kineto=n
@ -55,11 +37,15 @@ fi
# #
# Check for spade; if NAM model update DSP and GPS config # 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 cat /proc/cmdline | grep -q spade
if [ $? = 0 ]; if [ $? = 0 ];
then then
cat /proc/cmdline | grep -q androidboot.mid=PD9812000 cat /proc/cmdline | egrep -q '(PD9812000)|(PD9814000)'
if [ $? = 0 ]; if [ $? = 0 ];
then then
mv /system/etc/nam/*MCLK.txt /system/etc/soundimage/ mv /system/etc/nam/*MCLK.txt /system/etc/soundimage/