Commit af8e12f5 authored by Franco Fichtner's avatar Franco Fichtner

system: another logic fail :)

parent 6b0b2569
...@@ -1632,7 +1632,7 @@ function system_login_configure() ...@@ -1632,7 +1632,7 @@ function system_login_configure()
} }
} }
$output_enabled = count($console_selection) != 1 || in_array('nullconsole', $console_selection); $output_enabled = count($console_selection) != 1 || !in_array('nullconsole', $console_selection);
$virtual_enabled = !count($console_selection) || in_array('vidconsole', $console_selection) || $virtual_enabled = !count($console_selection) || in_array('vidconsole', $console_selection) ||
in_array('efi', $console_selection); in_array('efi', $console_selection);
$serial_enabled = in_array('comconsole', $console_selection); $serial_enabled = in_array('comconsole', $console_selection);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment