[ewg] [PATCH 1/2] ofed_scripts: add chkconfig comments for openibd

Ralph Campbell ralph.campbell at qlogic.com
Thu Jun 24 10:37:21 PDT 2010


OK. I missed that.

On Thu, 2010-06-24 at 01:53 -0700, Vladimir Sokolovsky wrote:
> Ralph Campbell wrote:
> > The /etc/init.d/openibd script doesn't have the magic comments that
> > chkconfig looks for when enabling/disabling services. This patch
> > adds the comments.
> > 
> > Signed-off-by: Ralph Campbell <ralph.campbell at qlogic.com>
> > ---
> > 
> 
> Hi Ralph,
> These chkconfig comments being added to the openibd script during kernel-ib RPM installation.
> See ofa_kernel.spec file.
> Note that these comments have different format for SLES and RedHat OSes.
> 
> Regards,
> Vladimir
> 
> 
> >  ofed_scripts/openibd |   11 +++++++++++
> >  1 files changed, 11 insertions(+), 0 deletions(-)
> > 
> > diff --git a/ofed_scripts/openibd b/ofed_scripts/openibd
> > index fa65611..8d6da99 100755
> > --- a/ofed_scripts/openibd
> > +++ b/ofed_scripts/openibd
> > @@ -2,6 +2,7 @@
> >  
> >  #
> >  # Copyright (c) 2006 Mellanox Technologies. All rights reserved.
> > +# Copyright (c) 2010 QLogic Corporation. All rights reserved.
> >  #
> >  # This Software is licensed under one of the following licenses:
> >  #
> > @@ -29,6 +30,16 @@
> >  #
> >  #  $Id: openibd 9139 2006-08-29 14:03:38Z vlad $
> >  #
> > +### BEGIN INIT INFO
> > +# Provides:		openibd
> > +# Required-Start:
> > +# Required-Stop:
> > +# Default-Start:	2 3 5
> > +# Default-Stop:	0 1 6
> > +# Short-Description: InfiniBand kernel modules and services
> > +# Description:       Start InfiniBand and IWARP services, and configure InfiniBand
> > +#		     network interfaces and other services.
> > +### END INIT INFO
> >  
> >  # config: /etc/infiniband/openib.conf
> >  CONFIG="/etc/infiniband/openib.conf"
> > 
> > 
> 





More information about the ewg mailing list