am 3e7b7739: init: import the hardware specific init file in init.rc
* commit '3e7b7739e3d4d7aaaa363645501036dafcc30ed3': init: import the hardware specific init file in init.rc
This commit is contained in:
commit
d7abdb21b3
2 changed files with 2 additions and 2 deletions
|
|
@ -706,8 +706,6 @@ int main(int argc, char **argv)
|
|||
|
||||
INFO("reading config file\n");
|
||||
init_parse_config_file("/init.rc");
|
||||
snprintf(tmp, sizeof(tmp), "/init.%s.rc", hardware);
|
||||
init_parse_config_file(tmp);
|
||||
|
||||
action_for_each_trigger("early-init", action_add_queue_tail);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
import /init.${ro.hardware}.rc
|
||||
|
||||
on early-init
|
||||
# Set init and its forked children's oom_adj.
|
||||
write /proc/1/oom_adj -16
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue