aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiulio Cervera <giulio.cervera@cyanogenmod.org>2015-06-01 14:27:45 +0200
committerGiulio Cervera <giulio.cervera@cyanogenmod.org>2015-06-01 14:27:48 +0200
commit5c220249976e49542152ad69feac6e4861fe6059 (patch)
tree2684723ca5d1f7e9c14deaf20e9cef65f591ae81
parentd2caf34b352a67575e543c5d8b390e49bd8fc93e (diff)
start taimport once
and move it early on post-fs-data Change-Id: Id7411aa4073065d70190b8bfd3f37c9155f72a44
-rw-r--r--rootdir/init.qcom.rc13
1 files changed, 6 insertions, 7 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index 53691cc..d1eb6f9 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -282,6 +282,10 @@ on post-fs
mkdir /dev/socket/suntory 0755 system system
on post-fs-data
+ # Used by taimport for MAC addresses
+ mkdir /data/etc 0755 root shell
+ start taimport
+
mkdir /data/media 0770 media_rw media_rw
# Create the directories used by the Wireless subsystem
@@ -371,9 +375,6 @@ on post-fs-data
chown media camera /sys/devices/sony_camera_1/info
chmod 0770 /sys/devices/sony_camera_1/info
- # Used by taimport for MAC addresses
- mkdir /data/etc
-
on charger
# Enable Power modes and set the CPU Freq Sampling rates
write /sys/module/lpm_levels/enable_low_power/l2 2
@@ -420,6 +421,8 @@ service taimport /system/bin/taimport
class main
user root
group system
+ disabled
+ oneshot
service netmgrd /system/bin/netmgrd
class main
@@ -651,10 +654,6 @@ on property:service.bootanim.exit=1
chmod 664 /sys/devices/system/cpu/cpu2/online
chmod 664 /sys/devices/system/cpu/cpu3/online
- # taimport keeps spamming the log unnecessarily,
- # stop it as it would've done it's job by now.
- stop taimport
-
on property:init.svc.bootanim=stopped
# Switch to ROW and balanced mode after boot for better UX
write /sys/class/devfreq/qcom,cpubw.40/governor "cpubw_hwmon"