90_init_console 265 B

1234567891011121314
  1. #!/bin/sh
  2. # Copyright (C) 2006-2010 OpenWrt.org
  3. # Copyright (C) 2010 Vertical Communications
  4. init_console() {
  5. if [ "$pi_suppress_stderr" = "y" ]; then
  6. exec <$M0 >$M1 2>&0
  7. else
  8. exec <$M0 >$M1 2>$M2
  9. fi
  10. }
  11. boot_hook_add preinit_essential init_console