aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir/init.target.rc
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir/init.target.rc')
-rw-r--r--rootdir/init.target.rc26
1 files changed, 13 insertions, 13 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc
index 6593331..6060a85 100644
--- a/rootdir/init.target.rc
+++ b/rootdir/init.target.rc
@@ -41,6 +41,10 @@ on init
on post-fs-data
#########################################################################################################################
+# wifi
+ write /data/.cid.info 0
+ restorecon /data/.cid.info
+
chown system radio /dev/block/platform/dw_mmc/by-name
chmod 0775 /dev/block/platform/dw_mmc/by-name
@@ -67,20 +71,10 @@ on post-fs-data
write /proc/sys/net/netfilter/nf_conntrack_tcp_be_liberal 1
# Restorecon
- restorecon /efs/bluetooth/bt_addr
- restorecon /efs/FactoryApp/keystr
- restorecon /efs/FactoryApp/factorymode
- restorecon /efs/FactoryApp/serial_no
- restorecon /efs/imei/mps_code.dat
- restorecon /efs/wifi/.mac.info
- restorecon /tombstones
- restorecon /tombstones/qcks
- restorecon /tombstones/qcks/acdb.bin
- restorecon /tombstones/qcks/efs1.bin
- restorecon /tombstones/qcks/efs2.bin
- restorecon /tombstones/qcks/efs3.bin
- restorecon /tombstones/qcks/temp.dump
+ restorecon_recursive /efs
+ restorecon_recursive /tombstones
restorecon /data/.cid.info
+ restorecon /data/ISP_CV
# Waketime fot fast dormancy
chown system radio /sys/devices/platform/mdm_hsic_pm0/waketime
@@ -110,6 +104,12 @@ on property:sys.boot_completed=1
write /sys/power/cpufreq_min_limit -1
# SISO-ANDR_PERF :: END
+on property:init.svc.macloader=stopped
+ chown system root /data/.cid.info
+ chmod 0666 /data/.cid.info
+ chown system root /data/.rev
+ chmod 0666 /data/.rev
+
#########################################################################################################################
on boot
#########################################################################################################################