diff options
author | Sungmin Choi <sungmin.choi@lge.com> | 2015-06-08 16:20:07 -0700 |
---|---|---|
committer | Vineeta Srivastava <vsrivastava@google.com> | 2015-06-24 16:39:51 -0700 |
commit | f70efd42e0be9763e194065a990257fde92e06a2 (patch) | |
tree | c285115abeef8f9852754b3bde601bfa3c3f48f5 /init.bullhead.sh | |
parent | d8df9c0182ee3ddafea795aed6d232d9a2537aa8 (diff) | |
download | bullhead-f70efd42e0be9763e194065a990257fde92e06a2.tar.gz |
bullhead: Make modem config folder and copy firmware config to that folder
Original commit:
commit 3c6a67f97e459c1acd1f3437def30b28f9f3092c
Author: Sooraj Sasindran <ssasin@codeaurora.org>
Date: Fri Mar 20 18:37:02 2015 -0600
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
Diffstat (limited to 'init.bullhead.sh')
-rwxr-xr-x | init.bullhead.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/init.bullhead.sh b/init.bullhead.sh new file mode 100755 index 0000000..81afd26 --- /dev/null +++ b/init.bullhead.sh @@ -0,0 +1,11 @@ +#!/system/bin/sh + +# +# 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 770 /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 |