Commit 53e87f7a authored by Ad Schellevis's avatar Ad Schellevis

(boot) ditch boot.config when serial not enabled

parent d8f5a12d
......@@ -184,8 +184,8 @@ function setup_serial_port($sync = true)
// ** serial console - write out /boot.config
if ($serial_enabled) {
file_put_contents('/boot.config', "-S{$serialspeed} -D\n");
} else {
file_put_contents('/boot.config', "");
} elseif (file_exists('/boot.config')) {
unlink('/boot.config');
}
// ** console settings in /boot/loader.conf
......
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