Commit f08747e3 authored by Franco Fichtner's avatar Franco Fichtner

serial: on read-only fs this will fail naturally

parent 3336c43d
......@@ -1941,7 +1941,7 @@ function system_console_configure()
// ** serial console - write out /boot.config
if ($serial_enabled) {
file_put_contents('/boot.config', "-S{$serialspeed} -D\n");
@file_put_contents('/boot.config', "-S{$serialspeed} -D\n");
} else {
@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