blob: c1351e717518df75e9ce49095653644421b71e9b (
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
|
# Android default init.rc (system/core/rootdir/init.rc) should be untouched.
# *EXCEPTIONALLY*, definitions from Android default init.rc may be modified.
#
# Use this file for overrides prior to default init.rc definitions.
# Please keep this file to the bare minimum as default init.rc should be
# preferred to duplicates here.
### Import ###
# add device specific override services which are not common for platforms.
import /init.override.rc
# import Android default init.rc renamed init.aosp.rc
# init.aosp.rc actually gets parsed after all the content of this file.
import /init.aosp.rc
### Services ###
# Android init only keeps the first definition found for a service.
# Override a service from Android default init.rc by adding it here.
service media /system/bin/mediaserver
class main
user media
group audio camera inet net_bt net_bt_admin net_bw_acct drmrpc mediadrm radio system
ioprio rt 4
service keystore /system/bin/keystore /data/misc/keystore
class main
user keystore
group keystore drmrpc system
service flash_recovery /system/bin/install-recovery.sh
class main
seclabel u:r:install_recovery:s0
oneshot
|