Adding patch from Michal Suchanek <hramrach@centrum.cz> to tail live.log and show...
[live-boot-grml.git] / 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/"
 }