system: disable all boot loader output for nullconsole usage

This commit is contained in:
Franco Fichtner 2016-11-26 13:31:53 +01:00
parent 85e6220415
commit a7fbf99b62

View File

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