Adding patch from Michal Suchanek <hramrach@centrum.cz> to tail live.log and show...
authorDaniel Baumann <daniel@debian.org>
Fri, 30 May 2008 21:55:35 +0000 (23:55 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:47:59 +0000 (17:47 +0100)
scripts/live

index 240691a..95c4c6b 100755 (executable)
@@ -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/"
 }