From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Valentan Subject: [Patch] init.d - info (eg SuSE-init) Date: Fri, 27 Apr 2007 17:17:15 +0200 Message-ID: <463213FB.8020708@solid-soft.at> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090605050003020407000202" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------090605050003020407000202 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit This patch add the needed info's into the init.d/xend file. Without it SuSE (or others?) will start xend before the network.. Signed-off-by: Robert Valentan -- Robert Valentan --------------090605050003020407000202 Content-Type: text/x-patch; name="init_d_xend.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="init_d_xend.patch" diff -r ee16cdeddade tools/examples/init.d/xend --- a/tools/examples/init.d/xend Wed Apr 25 09:39:08 2007 +++ b/tools/examples/init.d/xend Fri Apr 27 18:01:44 2007 @@ -6,6 +6,18 @@ # # chkconfig: 2345 98 01 # description: Starts and stops the Xen control daemon. +### BEGIN INIT INFO +# Provides: xend +# Required-Start: $syslog $remote_fs +# Should-Start: +# Required-Stop: $syslog $remote_fs +# Should-Stop: +# Default-Start: 3 4 5 +# Default-Stop: 0 1 2 6 +# Default-Enabled: yes +# Short-Description: Start/stop xend +# Description: Starts and stops the Xen control daemon. +### END INIT INFO if ! grep -q "control_d" /proc/xen/capabilities ; then exit 0 --------------090605050003020407000202 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------090605050003020407000202--