forked from mozilla-b2g/gonk-misc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.b2g.rc
50 lines (40 loc) · 1017 Bytes
/
init.b2g.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
import /init.bluetooth.rc
service gonksched /system/bin/gonksched
class main
user root
service fakeappops /system/bin/fakeappops
class main
user root
service b2g /system/bin/b2g.sh
class main
onrestart restart media
service rilproxy /system/bin/rilproxy
class main
socket rilproxy stream 660 radio radio
user radio
group radio system
service nfcd /system/bin/nfcd
class main
user nfc
group system
disabled
oneshot
service sensorsd /system/bin/sensorsd
class main
user system
group system input
disabled
oneshot
on boot
exec /system/bin/rm -r /data/local/tmp
exec /system/bin/mkdir -p /data/local/tmp
# set RLIMIT_NOFILE to increase soft limit from 1024(default) to 2048.
# Hard limit keeps default value(4096).
setrlimit 7 2048 4096
write /proc/sys/net/ipv6/conf/default/use_tempaddr 2
service httpd /system/bin/nginx
class main
user root
disabled
on property:ro.moz.httpd=1
start httpd