diff options
| author | Daniel Baumann <daniel@debian.org> | 2010-11-27 14:05:16 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:59:20 +0100 |
| commit | 10a6f1eced6f2df854ec095dd7faeaddf19d83e0 (patch) | |
| tree | 3aed4f26732f67e8b5d0498b070d09c9252229ef /scripts/live | |
| parent | 59a3bf0fc95889a3c4034829dec5492c5108aec9 (diff) | |
| download | live-boot-10a6f1eced6f2df854ec095dd7faeaddf19d83e0.tar.gz live-boot-10a6f1eced6f2df854ec095dd7faeaddf19d83e0.zip | |
Logging to /var/log/live-boot.log instead of /var/log/live.log for future consistency with live-config.
Diffstat (limited to 'scripts/live')
| -rwxr-xr-x | scripts/live | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/live b/scripts/live index 1baf82e..90a9333 100755 --- a/scripts/live +++ b/scripts/live @@ -1553,7 +1553,7 @@ check_dev () if [ "$ISO_DEVICE" = "/" ] then - echo "Warning: device for bootoption isofrom= ($FROMISO) not found.">>/live.log + echo "Warning: device for bootoption isofrom= ($FROMISO) not found.">>/live-boot.log else mkdir /isofrom mount -t auto "$ISO_DEVICE" /isofrom @@ -1765,9 +1765,9 @@ mountroot () exec 6>&1 exec 7>&2 - exec > live.log + exec > live-boot.log exec 2>&1 - tail -f live.log >&7 & + tail -f live-boot.log >&7 & tailpid="${!}" # Ensure 'panic' function is overridden @@ -1927,5 +1927,5 @@ mountroot () exec 1>&6 6>&- exec 2>&7 7>&- kill ${tailpid} - [ -w "${rootmnt}/var/log/" ] && cp live.log "${rootmnt}/var/log/" 2>/dev/null + [ -w "${rootmnt}/var/log/" ] && cp live-boot.log "${rootmnt}/var/log/" 2>/dev/null } |
