[Pkg-xen-changes] r131 - trunk/xen-3.0/debian

Guido Trotter ultrotter at costa.debian.org
Tue Mar 21 20:36:43 UTC 2006


Author: ultrotter
Date: 2006-03-21 20:36:42 +0000 (Tue, 21 Mar 2006)
New Revision: 131

Modified:
   trunk/xen-3.0/debian/xen-utils-3.0.postinst
Log:
Only start xendomains in postinst if we're installing from scratch, not if we are upgrading an existing installation


Modified: trunk/xen-3.0/debian/xen-utils-3.0.postinst
===================================================================
--- trunk/xen-3.0/debian/xen-utils-3.0.postinst	2006-03-21 20:31:45 UTC (rev 130)
+++ trunk/xen-3.0/debian/xen-utils-3.0.postinst	2006-03-21 20:36:42 UTC (rev 131)
@@ -14,7 +14,10 @@
 	update-rc.d xend start 20 2 3 4 5 . stop 21 0 1 6 .
 	update-rc.d xendomains start 21 2 3 4 5 . stop 20 0 1 6 .
 	invoke-rc.d xend start || true
-	invoke-rc.d xendomains start || true
+	# Only start xendomains if we're installing from scratch, not if we are upgrading an existing installation
+	if [ ! -z "$2" ]; then
+		invoke-rc.d xendomains start || true
+	fi
 	;;
 
 abort-upgrade|abort-remove|abort-deconfigure)




More information about the Pkg-xen-changes mailing list