From 3d98657417c69a118e601e930ca6d3c40bc73db4 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sat, 13 Dec 2008 14:33:30 +0200 Subject: [PATCH] init: changed rc.sysinit to log in /var/log/boot.log the kernel output previous to coldplug --- initramfs/etc_rc.d_rc.sysinit.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/initramfs/etc_rc.d_rc.sysinit.sh b/initramfs/etc_rc.d_rc.sysinit.sh index 8e69d5b..2fe0ec2 100644 --- a/initramfs/etc_rc.d_rc.sysinit.sh +++ b/initramfs/etc_rc.d_rc.sysinit.sh @@ -18,7 +18,10 @@ banner "I am Idunn, take an apple and live forever." # keep the console clean -[ -x /bin/dmesg ] && /bin/dmesg -n 3 +if [ -x /bin/dmesg ]; then + dmesg -n 3 + dmesg > /var/log/boot.log +fi title "Mounting special filesystems" check mount -n -t proc proc /proc