From 68739fbbb70423cb59b1b2f0f4df6c30a4f3da06 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 28 Nov 2016 09:45:35 +0100 Subject: [PATCH] system: q.e.d. previous --- src/etc/inc/system.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc index 2e12a7b28..d8323d767 100644 --- a/src/etc/inc/system.inc +++ b/src/etc/inc/system.inc @@ -1640,10 +1640,11 @@ 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) { - $new_boot_config['boot_multicons'] = '"YES"'; + if (count($console_selection) >= 2) { + $new_boot_config['boot_multicons'] = '"YES"'; + } } if ($serial_enabled) {