revert TEMP DIAG: re-enable switch_stdio to /scheme/log

This commit is contained in:
Red Bear OS
2026-07-15 23:57:22 +09:00
parent a5680cae92
commit 32bb63f360
+2 -7
View File
@@ -119,13 +119,8 @@ fn main() {
scheduler
.schedule_start_and_report_errors(&mut unit_store, UnitId("00_logd.service".to_owned()));
scheduler.step(&mut unit_store, &mut init_config);
// DIAGNOSTIC (temporary): keep init/daemon stdio on the kernel console
// so the full boot is visible on serial for headless debugging, instead
// of being redirected into /scheme/log (only mirrored racily to serial).
if false {
if let Err(err) = switch_stdio("/scheme/log") {
init_error(&format!("failed to switch stdio to '/scheme/log': {}", err));
}
if let Err(err) = switch_stdio("/scheme/log") {
init_error(&format!("failed to switch stdio to '/scheme/log': {}", err));
}
let runtime_target = UnitId("00_runtime.target".to_owned());