Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 571cd23f authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "init: add ro.boot.init_rc"

parents 038b8f08 959aeb17
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -835,7 +835,12 @@ int main(int argc, char** argv) {
    parser.AddSectionParser("service",std::make_unique<ServiceParser>());
    parser.AddSectionParser("on", std::make_unique<ActionParser>());
    parser.AddSectionParser("import", std::make_unique<ImportParser>());
    std::string bootscript = property_get("ro.boot.init_rc");
    if (bootscript.empty()) {
        parser.ParseConfig("/init.rc");
    } else {
        parser.ParseConfig(bootscript);
    }

    ActionManager& am = ActionManager::GetInstance();