summaryrefslogtreecommitdiffstats
path: root/rootdir/init.target.rc
blob: 1c631585f2c5fd71a4cc716bb19a04a9831aa758 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
on init
    export LD_SHIM_LIBS /system/bin/gpsd|libdmitry.so
    # Vibetonz
    export VIBE_PIPE_PATH /dev/pipes
    mkdir /dev/pipes 0771 shell shell

on post-fs-data
    chown radio system /sys/devices/platform/samsung-pd.5/s3c-fimc.2/range_mode
    chmod 0660 /sys/devices/platform/samsung-pd.5/s3c-fimc.2/range_mode

    # make param block device link for SysScope
    symlink /dev/block/mmcblk0p7 /dev/block/param

    # Restorecon
    restorecon_recursive /efs

    # SensorHub
    chown system radio /sys/class/sensors/ssp_sensor/enable
    chown system radio /sys/class/sensors/ssp_sensor/mcu_rev
    chown system radio /sys/class/sensors/ssp_sensor/mcu_name
    chown system radio /sys/class/sensors/ssp_sensor/mcu_test
    chown system radio /sys/class/sensors/ssp_sensor/mcu_reset
    chown system radio /sys/class/sensors/ssp_sensor/mcu_update
    chown system radio /sys/class/sensors/ssp_sensor/mcu_sleep_test
    chown system radio /sys/class/sensors/ssp_sensor/ori_poll_delay
    chown system radio /sys/class/sensors/ssp_sensor/mag_poll_delay

    write /data/.cid.info 0
    restorecon /data/.cid.info
    restorecon /data/ISP_CV

# on boot

# 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 gps
#    ioprio be 0