1 |
commit: f7104e16a98874f1863a55f9a78c712d94a195c0 |
2 |
Author: Richard Yao <ryao <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 31 21:29:30 2014 +0000 |
4 |
Commit: Richard Yao <ryao <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 27 04:29:44 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=f7104e16 |
7 |
|
8 |
Suppress superfluous console kernel output |
9 |
|
10 |
Signed-off-by: Richard Yao <ryao <AT> gentoo.org> |
11 |
|
12 |
--- |
13 |
defaults/linuxrc | 3 +++ |
14 |
1 file changed, 3 insertions(+) |
15 |
|
16 |
diff --git a/defaults/linuxrc b/defaults/linuxrc |
17 |
index d6d0eaa..6f950eb 100644 |
18 |
--- a/defaults/linuxrc |
19 |
+++ b/defaults/linuxrc |
20 |
@@ -23,6 +23,9 @@ fi |
21 |
mount -t proc -o noexec,nosuid,nodev proc /proc >/dev/null 2>&1 |
22 |
mount -o remount,rw / >/dev/null 2>&1 |
23 |
|
24 |
+# Prevent superfluous printks from being printed to the console |
25 |
+echo 1 > /proc/sys/kernel/printk |
26 |
+ |
27 |
# Set up symlinks |
28 |
/bin/busybox --install -s |