Move duplicate config files script to post-boot
Move duplicate config files script from init script to post-boot script. Change-Id: I3db8fa0fdb9d8a5d560e8d12ba2da5ec61420706 CRs-Fixed: 882864
This commit is contained in:
parent
750236a72b
commit
2f0c849a38
|
@ -172,19 +172,6 @@ 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
|
||||
|
||||
# File flags for prebuilt ril db file
|
||||
write /data/misc/radio/prebuilt_db_support 1
|
||||
chown radio radio /data/misc/radio/prebuilt_db_support
|
||||
chmod 0400 /data/misc/radio/prebuilt_db_support
|
||||
write /data/misc/radio/db_check_done 0
|
||||
chown radio radio /data/misc/radio/db_check_done
|
||||
chmod 0660 /data/misc/radio/db_check_done
|
||||
|
||||
# bond0 used by FST Manager
|
||||
chown wifi wifi /sys/class/net/bond0/bonding/queue_id
|
||||
|
||||
|
@ -321,6 +308,19 @@ on post-fs-data
|
|||
#Create IOP deamon related dirs
|
||||
mkdir /data/misc/iop 0770 root system
|
||||
|
||||
# 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
|
||||
|
||||
# File flags for prebuilt ril db file
|
||||
write /data/misc/radio/prebuilt_db_support 1
|
||||
chown radio radio /data/misc/radio/prebuilt_db_support
|
||||
chmod 0400 /data/misc/radio/prebuilt_db_support
|
||||
write /data/misc/radio/db_check_done 0
|
||||
chown radio radio /data/misc/radio/db_check_done
|
||||
chmod 0660 /data/misc/radio/db_check_done
|
||||
|
||||
service iop /system/bin/iop
|
||||
class main
|
||||
user root
|
||||
|
|
Loading…
Reference in New Issue