summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-05-30 23:55:35 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:47:59 +0100
commit770a8001e5b407910f2de38fbc5852c4356d05f0 (patch)
tree808f57f220204f1ac888d00e1634146797d42d99 /scripts
parentb5d0a63aa2be423dcb08c6d7b3836f6e38e6d5d5 (diff)
downloadlive-boot-770a8001e5b407910f2de38fbc5852c4356d05f0.tar.gz
live-boot-770a8001e5b407910f2de38fbc5852c4356d05f0.zip
Adding patch from Michal Suchanek <hramrach@centrum.cz> to tail live.log and show its messages during boot (Closes: #440238).
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/live b/scripts/live
index 240691a..95c4c6b 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1267,6 +1267,8 @@ mountroot ()
exec 7>&2
exec > live.log
exec 2>&1
+ tail -f live.log >&7 &
+ tailpid="${!}"
Arguments
@@ -1348,5 +1350,6 @@ mountroot ()
exec 1>&6 6>&-
exec 2>&7 7>&-
+ kill ${tailpid}
cp live.log "${rootmnt}/var/log/"
}