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

Commit 3194904b authored by David Keitel's avatar David Keitel Committed by Matt Wagantall
Browse files

sysctl: add cold_boot sysctl entry



Add a cold_boot parameter which supplements the
boot_reason sysctl entry with information about
whether the system was booted from cold or warm state.

/proc/sys/kernel/cold_boot entry is updated with 1 or 0 when
system was booted from cold or warm boot state respecitively.

CRs-Fixed: 461256
Change-Id: I2bc5d80c8f26eb9e9dbb4b34960d991a51a224e4
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
[abhimany: fixup minor merge conflict and drop changes to
kernel/sysctl.c and Documentation since it was brought in via
snapshot commit]
Signed-off-by: default avatarAbhimanyu Kapur <abhimany@codeaurora.org>
parent 372d39f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment