Commit 68739fbb authored by Franco Fichtner's avatar Franco Fichtner

system: q.e.d. previous

parent 8b6d43f5
...@@ -1640,10 +1640,11 @@ function system_login_configure() ...@@ -1640,10 +1640,11 @@ function system_login_configure()
in_array('efi', $console_selection); in_array('efi', $console_selection);
$serial_enabled = in_array('comconsole', $console_selection); $serial_enabled = in_array('comconsole', $console_selection);
if (count($console_selection) == 0) { if (count($console_selection)) {
$new_boot_config['console'] = '"' . implode(',', $console_selection) . '"'; $new_boot_config['console'] = '"' . implode(',', $console_selection) . '"';
} elseif (count($console_selection) >= 2) { if (count($console_selection) >= 2) {
$new_boot_config['boot_multicons'] = '"YES"'; $new_boot_config['boot_multicons'] = '"YES"';
}
} }
if ($serial_enabled) { if ($serial_enabled) {
......
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