[Pkg-xen-devel] Bug#681343: xcp-xapi: wait_for_xapi() function in init.d script does not work

Bastian Blank waldi at debian.org
Thu Jul 12 17:38:58 UTC 2012


On Thu, Jul 12, 2012 at 05:35:08PM +0400, George Shuklin wrote:
> +               # Check whether the md5 of the create-templates binary matches the one
> +               # used previously. If not, recreate the templates.
> +               if [ -e /usr/lib/xcp/lib/create_templates ]; then
> +                       if ! md5sum -c --status $TEMPLATES_MD5_STAMP ; then
>                         /usr/lib/xcp/lib/regenerate-templates start
> +                               md5sum /usr/lib/xcp/lib/create_templates > $TEMPLATES_MD5_STAMP

Whas is this and why is it in the init script instead of the postinst
script?

Bastian

-- 
I'm a soldier, not a diplomat.  I can only tell the truth.
		-- Kirk, "Errand of Mercy", stardate 3198.9



More information about the Pkg-xen-devel mailing list