remove redirection of output to /dev/kmesg
authorHarald Hoyer <harald@redhat.com>
Sat, 4 Jul 2009 07:54:39 +0000 (09:54 +0200)
committerHarald Hoyer <harald@redhat.com>
Sat, 4 Jul 2009 07:57:10 +0000 (09:57 +0200)
until we have a way to mark our messages to come from dracut.

modules.d/99base/init

index cc42527951088f6bd793e8b0e6b57d2939c2ee31..99d5d145cf4308e3e93c023263bc927586348425 100755 (executable)
@@ -10,7 +10,6 @@ emergency_shell()
     exec >/dev/console 2>&1 </dev/console
     echo ; echo
     echo $@
-    getarg rdinitdebug || dmesg
     source_all emergency
     if getarg rdshell; then
         echo ; echo
@@ -26,7 +25,7 @@ export PATH=/sbin:/bin:/usr/sbin:/usr/bin
 export TERM=linux
 NEWROOT="/sysroot"
 
-trap "emergency_shell Unkown signal caught!" 0
+trap "emergency_shell Signal caught!" 0
 
 . /lib/dracut-lib.sh
 
@@ -51,8 +50,6 @@ fi
 
 if getarg rdinitdebug; then
     set -x
-else
-    exec >/dev/kmsg 2>&1
 fi
 
 mkdir /dev/shm