forked from RedBunny/android_device_lge_ls840
-
Notifications
You must be signed in to change notification settings - Fork 1
/
init.lge.rc
executable file
·64 lines (55 loc) · 1.73 KB
/
init.lge.rc
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#CAPP_CKERROR_REPORTER
import init.ckerror.rc
########################################
# CAPP_THREADPROFILER
########################################
service lgprofd /system/bin/lgprofd
socket lgprofd stream 666
########################################
# CAPP_UNINSTALL_PRELOADED
########################################
# service post_install /system/vendor/bin/post_install.sh
# disabled
# oneshot
# on property:sys.boot_completed=1
# start post_install
########################################
# CAPP_POWEROFF_ANI
########################################
service shutdownanim /system/bin/shutdownanimation
user graphics
group graphics system
disabled
oneshot
########################################
# CAPP_DRM
########################################
on post-fs-data
# create directory for lgdrm
mkdir /data/lgdrm 0770 lgdrm lgdrm_acc
########################################
# CAPP_FONTS
########################################
# CAPP_FONTS_HYFONT_0.9.9.5 [[email protected] 20120206] support chnging fonts
on post-fs-data
mkdir /data/font 775 system system
chmod 775 /data/font
mkdir /data/font/config 775 system system
chmod 775 /data/font/config
mkdir /data/font/download 775 system system
chmod 775 /data/font/download
# CAPP_FONTS_HYFONT_0.9.9.5_END
#CAPP_RESERVED_USERDATA
on property:ro.reserve.blockcount=*
exec /system/bin/tune2fs -r $ro.reserve.blockcount \
-u system -g system $ro.reserve.userdata
#CAPP_BLUEERROR_HANDLER: temp version, it will be removed
on post-fs-data
chown root system /data/dontpanic
chmod 0775 /data/dontpanic
# CAPP_NFS
service nfsserversetup /system/bin/nfsserversetup
class late_start
user root
oneshot
# CAPP_NFS_END