mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 10:17:35 +00:00
Kernel+SystemServer: Change bootmode to system_mode
'bootmode' now only controls which set of services are started by SystemServer, so it is more appropriate to rename it to system_mode, and no longer validate it in the Kernel.
This commit is contained in:
parent
09432a8241
commit
8d13f6ddce
11 changed files with 64 additions and 51 deletions
|
@ -405,6 +405,6 @@ void Service::save_to(JsonObject& json)
|
|||
|
||||
bool Service::is_enabled() const
|
||||
{
|
||||
extern String g_boot_mode;
|
||||
return m_boot_modes.contains_slow(g_boot_mode);
|
||||
extern String g_system_mode;
|
||||
return m_boot_modes.contains_slow(g_system_mode);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue