mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
system: strict serial mode, need to test this
This commit is contained in:
parent
a7f01e99d7
commit
dfb094112e
@ -1739,7 +1739,11 @@ function system_login_configure($verbose = false)
|
||||
}
|
||||
|
||||
if ($serial_enabled) {
|
||||
@file_put_contents('/boot.config', "-S{$serialspeed} -D\n");
|
||||
if (count($console_selection) >= 2) {
|
||||
@file_put_contents('/boot.config', "-S{$serialspeed} -D\n");
|
||||
} else {
|
||||
@file_put_contents('/boot.config', "-S{$serialspeed} -h\n");
|
||||
}
|
||||
$new_boot_config['comconsole_speed'] = '"'.$serialspeed.'"';
|
||||
$new_boot_config['boot_serial'] = '"YES"';
|
||||
} elseif (!$output_enabled) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user