[Fai-commit] r6775 - trunk/lib

Thomas Lange lange at alioth.debian.org
Wed Oct 26 14:31:25 UTC 2011


Author: lange
Date: 2011-10-26 14:31:25 +0000 (Wed, 26 Oct 2011)
New Revision: 6775

Modified:
   trunk/lib/get-boot-info
Log:
copy live.log to LOGDIR


Modified: trunk/lib/get-boot-info
===================================================================
--- trunk/lib/get-boot-info	2011-10-26 11:26:45 UTC (rev 6774)
+++ trunk/lib/get-boot-info	2011-10-26 14:31:25 UTC (rev 6775)
@@ -6,7 +6,7 @@
 # bootinfo -- get boot information via DHCP or BOOTP protocol
 #
 # This script is part of FAI (Fully Automatic Installation)
-# (c) 2003-2010 by Thomas Lange, lange at informatik.uni-koeln.de
+# (c) 2003-2011 by Thomas Lange, lange at informatik.uni-koeln.de
 # Universitaet zu Koeln
 #
 #*********************************************************************
@@ -123,6 +123,7 @@
 
 # when using live-initramfs
 if [ -f /var/log/live.log ]; then
+    cp -p /var/log/live.log $LOGDIR
     grep IP-Config /var/log/live.log | grep -q "DHCP" && get_dhcp_info
     grep IP-Config /var/log/live.log | grep -q "BOOTP" && get_bootp_info
 else




More information about the Fai-commit mailing list