Change bootup shell script to duplicate config files
Change bootup shell script to: - Copy config files - change the new config to correct ownship - set flag to indicate copy is completed. Change-Id: Ie00059ba49ac0d59b2c41b35640593347521dec3
This commit is contained in:
parent
49b9de19ff
commit
0c440edd5d
|
@ -189,6 +189,11 @@ on boot
|
|||
# Allow access for CCID command/response timeout configuration
|
||||
chown system system /sys/module/ccid_bridge/parameters/bulk_msg_timeout
|
||||
|
||||
# Mark the copy complete flag to not completed
|
||||
write /data/misc/radio/copy_complete 0
|
||||
chown radio radio /data/misc/radio/copy_complete
|
||||
chmod 0660 /data/misc/radio/copy_complete
|
||||
|
||||
# msm specific files that need to be created on /data
|
||||
on post-fs-data
|
||||
# Create directory for TZ Apps
|
||||
|
|
|
@ -247,3 +247,13 @@ case "$emmc_boot"
|
|||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
#
|
||||
# Make modem config folder and copy firmware config to that folder
|
||||
#
|
||||
rm -rf /data/misc/radio/modem_config
|
||||
mkdir /data/misc/radio/modem_config
|
||||
chmod 660 /data/misc/radio/modem_config
|
||||
cp -r /firmware/image/modem_pr/mcfg/configs/* /data/misc/radio/modem_config
|
||||
chown -hR radio.radio /data/misc/radio/modem_config
|
||||
echo 1 > /data/misc/radio/copy_complete
|
||||
|
|
Loading…
Reference in New Issue