sdm660-common: rootdir: cleanup init.qcom

Signed-off-by: Dušan Uverić <dusan.uveric9@gmail.com>
Change-Id: Ie7a2d7337b95e2d1a48e1c506d68d775aaafda8c
This commit is contained in:
Dušan Uverić 2020-04-11 13:33:42 +02:00 committed by OdSazib
parent 302d73e8c6
commit aa46d9b409
No known key found for this signature in database
GPG key ID: A2D2E5C18BB04462

View file

@ -27,32 +27,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
target=`getprop ro.board.platform`
if [ -f /sys/devices/soc0/soc_id ]; then
platformid=`cat /sys/devices/soc0/soc_id`
else
platformid=`cat /sys/devices/system/soc/soc0/id`
fi
start_msm_irqbalance660()
{
if [ -f /vendor/bin/msm_irqbalance ]; then
case "$platformid" in
"317" | "321" | "324" | "325" | "326" | "336" | "345" | "346" | "360" | "393")
start vendor.msm_irqbalance;;
"318" | "327" | "385")
start vendor.msm_irqbl_sdm630;;
esac
fi
}
echo 1 > /proc/sys/net/ipv6/conf/default/accept_ra_defrtr
case "$target" in
"sdm660")
start_msm_irqbalance660
;;
esac
if [ -f /vendor/bin/msm_irqbalance ]; then
start vendor.msm_irqbalance
fi
#
# Make modem config folder and copy firmware config to that folder for RIL