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 <[email protected]> > --- >
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" > > _______________________________________________ ewg mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
