|
@@ -188,7 +188,7 @@ UNMAP_AFTER_INIT AHCIResetMode CommandLine::ahci_reset_mode() const
|
|
UNMAP_AFTER_INIT BootMode CommandLine::boot_mode() const
|
|
UNMAP_AFTER_INIT BootMode CommandLine::boot_mode() const
|
|
{
|
|
{
|
|
const auto boot_mode = lookup("boot_mode"sv).value_or("graphical"sv);
|
|
const auto boot_mode = lookup("boot_mode"sv).value_or("graphical"sv);
|
|
- if (boot_mode == "no-fbdevsv") {
|
|
|
|
|
|
+ if (boot_mode == "no-fbdev"sv) {
|
|
return BootMode::NoFramebufferDevices;
|
|
return BootMode::NoFramebufferDevices;
|
|
} else if (boot_mode == "self-test"sv) {
|
|
} else if (boot_mode == "self-test"sv) {
|
|
return BootMode::SelfTest;
|
|
return BootMode::SelfTest;
|