Commit a7fbf99b authored by Franco Fichtner's avatar Franco Fichtner

system: disable all boot loader output for nullconsole usage

parent 85e62204
...@@ -1619,6 +1619,8 @@ function system_login_configure() ...@@ -1619,6 +1619,8 @@ function system_login_configure()
@file_put_contents('/boot.config', "-S{$serialspeed} -D\n"); @file_put_contents('/boot.config', "-S{$serialspeed} -D\n");
$new_boot_config['comconsole_speed'] = '"'.$serialspeed.'"'; $new_boot_config['comconsole_speed'] = '"'.$serialspeed.'"';
$new_boot_config['boot_serial'] = '"YES"'; $new_boot_config['boot_serial'] = '"YES"';
} elseif (count($console_selection) == 1 && $console_selection[0] == 'null') {
@file_put_contents('/boot.config', "-q -m\n");
} else { } else {
@unlink('/boot.config'); @unlink('/boot.config');
} }
......
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