projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[package] base-files: localize variable in do_move_devtmpfs(), remove extra temporary...
[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