[Fai-commit] r3791 - trunk/lib

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Thu Aug 24 16:12:19 UTC 2006


Author: lange
Date: 2006-08-24 16:12:19 +0000 (Thu, 24 Aug 2006)
New Revision: 3791

Modified:
   trunk/lib/subroutines
Log:
dirinst can now call task finish, start time is now saved by main routine


Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines	2006-08-24 16:11:03 UTC (rev 3790)
+++ trunk/lib/subroutines	2006-08-24 16:12:19 UTC (rev 3791)
@@ -437,6 +437,7 @@
     task updatebase
     task instsoft
     task configure
+    task finish
 
     rm -f $stamp
     # save again, because new messages could be created
@@ -462,7 +463,6 @@
 
     save_dmesg
 
-    local start_seconds=$(cut -d . -f 1 /proc/uptime)
     task mirror
     task debconf
     task prepareapt
@@ -470,7 +470,7 @@
     task instsoft
     task configure
     date
-    echo "The update took $[$(cut -d . -f 1 /proc/uptime)-$start_seconds] seconds."
+    echo "The $FAI_ACTION took $[$(cut -d . -f 1 /proc/uptime)-$start_seconds] seconds."
 
     rm -f $stamp
     # save again, because new messages could be created




More information about the Fai-commit mailing list