summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2008-12-15 11:23:03 +0100
committermaximilian attems <maks@debian.org>2008-12-15 11:23:03 +0100
commit6e5eab4ecdba250653b1572f09624c20bf98a09e (patch)
treee6fe9015f8e4140e269d0a89f7087dedbf56b5c9
parent87461ea463b943a9ccff96b2b36fcfbd66691a1a (diff)
downloadinitramfs-tools-6e5eab4ecdba250653b1572f09624c20bf98a09e.tar.gz
initramfs-tools-6e5eab4ecdba250653b1572f09624c20bf98a09e.zip
Make debug option write to /dev/.initramfs/initramfs.debug
rather than /tmp/initramfs.debug, so that it can be retrieved after boot.
-rwxr-xr-xinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/init b/init
index e287739..5b9dfb1 100755
--- a/init
+++ b/init
@@ -124,7 +124,7 @@ for x in $(cat /proc/cmdline); do
debug)
debug=y
quiet=n
- exec >/tmp/initramfs.debug 2>&1
+ exec >/dev/.initramfs/initramfs.debug 2>&1
set -x
;;
debug=*)