summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorChirayu Desai <chirayudesai1@gmail.com>2015-02-02 15:48:03 +0530
committerChirayu Desai <cdesai@cyanogenmod.org>2015-02-02 11:21:28 +0000
commit5e40b9af4c176f431f381b8df11b342abeffb537 (patch)
treef52109907d29751483fcd14d77875d6efa33764f /rootdir
parent8b50e6f82c76867381dc9a423e0f1b954f119783 (diff)
init: Add a service for taimport
* 'exec' and SELinux don't go well, and there's no reason not to have this a service. Change-Id: Ica4ee5f820a64ac51a3ad3353e3e58b685cf7d43
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.qcom.rc9
1 files changed, 6 insertions, 3 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index 3a30c26..94c7937 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -97,9 +97,6 @@ on fs
chmod 0555 /lta-label
chmod 0755 /data/etc
- exec /system/bin/taimport
-
- restorecon_recursive /data/etc
on early-boot
# set RLIMIT_MEMLOCK to 64MB
@@ -418,6 +415,12 @@ service tad_static /system/bin/tad_static /dev/block/mmcblk0 1,16
socket tad stream 0660 system system
class core
+service taimport /system/bin/taimport
+ class late_start
+ user root
+ group system
+ oneshot
+
service netmgrd /system/bin/netmgrd
class main