[PATCH] Removing noisy runlevel time measuring (Closes: #601756).

Daniel Baumann daniel at debian.org
Fri Oct 29 10:33:37 UTC 2010


---
 debian/src/sysv-rc/etc/init.d/rc |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/debian/src/sysv-rc/etc/init.d/rc b/debian/src/sysv-rc/etc/init.d/rc
index 021de73..2b63212 100644
--- a/debian/src/sysv-rc/etc/init.d/rc
+++ b/debian/src/sysv-rc/etc/init.d/rc
@@ -16,8 +16,6 @@
 PATH=/sbin:/usr/sbin:/bin:/usr/bin
 export PATH
 
-starttime=$(date +%s)
-
 # Un-comment the following for interactive debugging. Do not un-comment
 # this for debugging a real boot process as no scripts will be executed.
 # debug=echo
@@ -333,11 +331,5 @@ fi
 
 trap - EXIT # Disable emergency handler
 
-# This code should be removed when Squeeze freeze is getting closer
-# - Petter 2010-05-18
-endtime=$(date +%s)
-duration=$(($endtime - $starttime))
-log_action_msg "Running scripts in rc$runlevel.d/ took $duration seconds"
-
 exit 0
 
-- 
1.7.2.3


--------------080106060301080405060603--





More information about the Pkg-sysvinit-devel mailing list