--- /usr/lib/openoffice/program/soffice.bak 2009-10-20 20:00:30.030258553 +0200 +++ /usr/lib/openoffice/program/soffice 2009-10-20 21:33:03.662150859 +0200 @@ -1,4 +1,5 @@ #!/bin/sh +config_start_date=$(/bin/date +%s) #************************************************************************* # # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -230,6 +231,11 @@ sd_binary="oosplash.bin" fi +# print the configuration parsing time +config_stop_date=$(/bin/date +%s) +config_duration=$(($config_stop_date - $config_start_date)) +echo configuration parsed in $config_duration s by /usr/lib/openoffice/program/soffice + # execute soffice binary "$sd_prog/$sd_binary" "$@" & trap 'kill -9 $!' TERM