summaryrefslogtreecommitdiffstats
path: root/rootdir/init.target.rc
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2016-04-30 20:56:15 +0200
committercodeworkx <codeworkx@cyanogenmod.org>2016-04-30 20:56:15 +0200
commit732bf7a24e16add354c45704e237cb2357d2683c (patch)
treeb25b62ef6c1715638ab3e0b7b40961d13bf32ad1 /rootdir/init.target.rc
parent3dd3324a32a32cf6295e56b0bf7ef697d7d58bdd (diff)
parentd41c859a0678da88519a27560e75983c750155c0 (diff)
downloaddevice_samsung_n7100-732bf7a24e16add354c45704e237cb2357d2683c.zip
device_samsung_n7100-732bf7a24e16add354c45704e237cb2357d2683c.tar.gz
device_samsung_n7100-732bf7a24e16add354c45704e237cb2357d2683c.tar.bz2
Merge branch 'cm-13.0' of github.com:tilaksidduram/android_device_samsung_n7100 into HEAD
Change-Id: I492f715515d6cf681a5f6d2bc59f6929f92b7b47
Diffstat (limited to 'rootdir/init.target.rc')
-rw-r--r--rootdir/init.target.rc42
1 files changed, 6 insertions, 36 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc
index a1e4a08..f346d40 100644
--- a/rootdir/init.target.rc
+++ b/rootdir/init.target.rc
@@ -1,4 +1,5 @@
on init
+ export LD_SHIM_LIBS /system/lib/libsec-ril.so|libsamsung_symbols.so:/system/bin/gpsd|libdmitry.so
# Vibetonz
export VIBE_PIPE_PATH /dev/pipes
mkdir /dev/pipes 0771 shell shell
@@ -11,21 +12,7 @@ on post-fs-data
symlink /dev/block/mmcblk0p7 /dev/block/param
# Restorecon
- restorecon /efs/nv_data.bin
- restorecon /efs/nv_data.bin.md5
- restorecon /efs/.nv_core.bak
- restorecon /efs/.nv_core.bak.md5
- restorecon /efs/.nv_data.bak
- restorecon /efs/.nv_data.bak.md5
- restorecon /efs/.nv_state
- restorecon /efs/bluetooth/bt_addr
- restorecon /efs/FactoryApp/factorymode
- restorecon /efs/FactoryApp/hw_ver
- restorecon /efs/FactoryApp/keystr
- restorecon /efs/FactoryApp/serial_no
- restorecon /efs/imei/mps_code.dat
- restorecon /efs/gyro_cal_data
- restorecon /efs/wifi/.mac.info
+ restorecon_recursive /efs
# SensorHub
chown system radio /sys/class/sensors/ssp_sensor/enable
@@ -40,33 +27,16 @@ on post-fs-data
on boot
-# icd
-service icd /system/bin/icd
- class main
- user system
- group system log
- onrestart exec icd_check
-
# cbd
service cpboot-daemon /sbin/cbd -d -p 10
class main
user root
group radio cache inet misc audio sdcard_rw log
-# sensorhub
-service sensorhubservice /system/bin/sensorhubservice
- class main
- user system
- group input
-
-# GPS
-service gpsd /system/bin/gpsd -c /system/etc/gps.xml
+# Start GPS daemon
+service gps-daemon /system/bin/sh /system/bin/gps_daemon.sh
class main
socket gps seqpacket 0660 gps system
user gps
- group system inet sdcard_rw
-
-service dmb /system/bin/dmbserver
- class main
- user system
- group radio inet misc audio camera graphics net_bt net_bt_admin sdcard_rw
+ group system inet sdcard_rw gps
+ ioprio be 0