[ewg] [PATCH 1/2] ofed_scripts: add chkconfig comments for openibd
Ralph Campbell
ralph.campbell at qlogic.com
Wed Jun 23 14:31:26 PDT 2010
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>
---
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