sdm660-common: rootdir: Start ipacm for all devices even with no ril
Change-Id: I50b600e2270b4b7628c14c362db87fd391d29252
This commit is contained in:
parent
33fed0a190
commit
bc02699357
1 changed files with 8 additions and 4 deletions
|
@ -39,10 +39,14 @@ vendor_rild_status=`getprop init.svc.vendor.ril-daemon`
|
|||
case "$baseband" in
|
||||
"apq" | "sda" | "qcs" )
|
||||
setprop ro.vendor.radio.noril yes
|
||||
setprop ro.radio.noril yes
|
||||
setprop hw.nophone yes
|
||||
start vendor.ipacm
|
||||
if [ -n "$rild_status" ] || [ -n "$vendor_rild_status" ]; then
|
||||
stop ril-daemon
|
||||
stop vendor.ril-daemon
|
||||
start vendor.ipacm
|
||||
stop ril-daemon
|
||||
stop vendor.ril-daemon
|
||||
stop vendor.qcrild
|
||||
stop vendor.qcrild2
|
||||
fi
|
||||
esac
|
||||
|
||||
|
@ -58,7 +62,7 @@ case "$baseband" in
|
|||
modem=`cat /vendor/firmware_mnt/verinfo/ver_info.txt |
|
||||
sed -n 's/^[^:]*modem[^:]*:[[:blank:]]*//p' |
|
||||
sed 's/.*MPSS.\(.*\)/\1/g' | cut -d \. -f 1`
|
||||
# Check if this is AT 3.0 or below. If so, start ril-daemon
|
||||
# Check if this is AT 3.0 or below. If so, start ril-daemon
|
||||
if [ "$modem" = "AT" ]; then
|
||||
version=`cat /vendor/firmware_mnt/verinfo/ver_info.txt |
|
||||
sed -n 's/^[^:]*modem[^:]*:[[:blank:]]*//p' |
|
||||
|
|
Loading…
Reference in a new issue