]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
loginit: log to /run/initramfs/init.log
authorHarald Hoyer <harald@redhat.com>
Fri, 25 Mar 2011 12:35:05 +0000 (13:35 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 25 Mar 2011 15:10:47 +0000 (16:10 +0100)
modules.d/99base/init
modules.d/99base/loginit

index 4e30e0ecfd7b16c29e459db337d093cbfd7b6f76..b6b599f6c295c89d600ec7d9e5366c6f53b2e07b 100755 (executable)
@@ -357,7 +357,7 @@ fi
 
 # Debug: Copy state
 if getargbool 0 rd.copystate -y rdcopystate; then
-    cp -axr /init.log /tmp/* /run/initramfs/ >/dev/null 2>&1
+    cp -axr /tmp/* /run/initramfs/ >/dev/null 2>&1
 fi
 
 if getargbool 1 rd.timestamp; then
index 5436b6b0096748f47a7d63b895232443b874d8b9..a6908d00265df46d6fd77689106fad01c3b39ae8 100755 (executable)
@@ -8,7 +8,7 @@ set +x
 QUIET=$1
 
 [ -e /dev/kmsg ] && exec 5>/dev/kmsg || exec 5>/dev/null
-exec 6>/init.log
+exec 6>/run/initramfs/init.log
 
 while read line; do 
     if [ "$line" = "DRACUT_LOG_END" ]; then