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