From 20d6e1081ec7105207c01e9d8d2a58bb4a145331 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 17 Dec 2007 16:08:05 -0600 Subject: Save dmesg output at the end of the boot process Signed-off-by: Aaron Griffin --- rc.sysinit | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index c79f969..72ad615 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -411,5 +411,11 @@ fi # Screen blanks after 15 minutes idle time /usr/bin/setterm -blank 15 +# Save our dmesg output from this boot +if [ -f /var/log/dmesg.log ]; then + rm /var/log/dmesg.log +fi +/bin/dmesg > /var/log/dmesg.log + # End of file # vim: set ts=2 noet: -- cgit v1.2.3