blob: fef9b026001c6419429bf4c0d8a68ebf860b99cc (
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
|
# Originally device/intel/common/silentlake/init.silentlake.rc
on init
#Insert silentlake vidt
insmod /lib/modules/vidt_driver.ko
on post-fs-data
mkdir /data/silent_lake 0770 system system
mkdir /data/silent_lake/secure_storage 0770 system system
on post-fs
service sl_si_service /system/bin/sl_si_service d=1
user system
group system
socket silentlake stream 666 system system
disabled
oneshot
service sl_hal_service /system/bin/sl_hal_service_server
user system
group system
socket slhalservice dgram 666 system system
disabled
oneshot
on fs
#setup silentlake vidt and start service
chown system system /dev/vidt
chmod 0660 /dev/vidt
start sl_si_service
start sl_hal_service
|