diff options
| author | Daniel Baumann <daniel@debian.org> | 2012-04-10 12:40:59 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2012-06-04 17:39:49 +0200 |
| commit | 5e7955190b877abd2993deca7d87099eeebbe1ee (patch) | |
| tree | 586f00f871ed2db4313865ac1379a74a241e65a8 /scripts/live | |
| parent | fdfb568fc5c822b1f093f49846ac582f87546f44 (diff) | |
| download | live-boot-5e7955190b877abd2993deca7d87099eeebbe1ee.tar.gz live-boot-5e7955190b877abd2993deca7d87099eeebbe1ee.zip | |
Using boot.log and /var/log/live/boot.log respectively for overall consistency within all debian-live tools.
Diffstat (limited to 'scripts/live')
| -rwxr-xr-x | scripts/live | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/live b/scripts/live index 371fac4..70ea06e 100755 --- a/scripts/live +++ b/scripts/live @@ -1255,7 +1255,7 @@ check_dev () if [ "$ISO_DEVICE" = "/" ] then - echo "Warning: device for bootoption fromiso= ($FROMISO) not found.">>/live-boot.log + echo "Warning: device for bootoption fromiso= ($FROMISO) not found.">>/boot.log else fs_type=$(get_fstype "${ISO_DEVICE}") if is_supported_fs ${fs_type} @@ -1266,7 +1266,7 @@ check_dev () loopdevname=$(setup_loop "/live/fromiso/${ISO_NAME}" "loop" "/sys/block/loop*" "" '') devname="${loopdevname}" else - echo "Warning: unable to mount $ISO_DEVICE." >>/live-boot.log + echo "Warning: unable to mount $ISO_DEVICE." >>/boot.log fi fi fi @@ -1499,9 +1499,9 @@ mountroot () exec 6>&1 exec 7>&2 - exec > live-boot.log + exec > boot.log exec 2>&1 - tail -f live-boot.log >&7 & + tail -f boot.log >&7 & tailpid="${!}" # Ensure 'panic' function is overridden @@ -1696,5 +1696,5 @@ mountroot () exec 1>&6 6>&- exec 2>&7 7>&- kill ${tailpid} - [ -w "${rootmnt}/var/log/" ] && cp live-boot.log "${rootmnt}/var/log/" 2>/dev/null + [ -w "${rootmnt}/var/log/" ] && mkdir -p /var/log/live && cp boot.log "${rootmnt}/var/log/live" 2>/dev/null } |
