allow targets to define a default subtarget when using automatic subtarget detection...
[openwrt.git] / package / base-files / files / lib / preinit / 90_init_console
1 #!/bin/sh
2 # Copyright (C) 2006-2010 OpenWrt.org
3 # Copyright (C) 2010 Vertical Communications
4
5 init_console() {
6 if [ "$pi_suppress_stderr" = "y" ]; then
7 exec <$M0 >$M1 2>&0
8 else
9 exec <$M0 >$M1 2>$M2
10 fi
11 }
12
13 boot_hook_add preinit_essential init_console
14
This page took 0.04493 seconds and 5 git commands to generate.