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

system: q.e.d. previous

parent 8b6d43f5
......@@ -1640,11 +1640,12 @@ function system_login_configure()
in_array('efi', $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) . '"';
} elseif (count($console_selection) >= 2) {
if (count($console_selection) >= 2) {
$new_boot_config['boot_multicons'] = '"YES"';
}
}
if ($serial_enabled) {
@file_put_contents('/boot.config', "-S{$serialspeed} -D\n");
......
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