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

Commit adbac998 authored by Devin Moore's avatar Devin Moore Committed by Gerrit Code Review
Browse files

Merge "Dump /proc/bootconfig in dumpstate"

parents 7ac34d32 09fde8df
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -814,6 +814,8 @@ void Dumpstate::PrintHeader() const {
    printf("Kernel: ");
    DumpFileToFd(STDOUT_FILENO, "", "/proc/version");
    printf("Command line: %s\n", strtok(cmdline_buf, "\n"));
    printf("Bootconfig: ");
    DumpFileToFd(STDOUT_FILENO, "", "/proc/bootconfig");
    printf("Uptime: ");
    RunCommandToFd(STDOUT_FILENO, "", {"uptime", "-p"},
                   CommandOptions::WithTimeout(1).Always().Build());