[package] base-files: prevent possible sourcing of JFFS2 meta files when merging...
[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.039797 seconds and 5 git commands to generate.