[ofa-general] [PATCH] opensm/opensm.spec: comment out service auto-startup setup

Sasha Khapyorsky sashak at voltaire.com
Thu Sep 11 13:11:26 PDT 2008


This addresses bug#1181.

Comment out opensm service auto-startup setup at %post section.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---

I don't really know why it was done this way originally. So please send
any comments and/or objections.

 opensm/opensm.spec.in |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/opensm/opensm.spec.in b/opensm/opensm.spec.in
index 2e3abfc..fc7677d 100644
--- a/opensm/opensm.spec.in
+++ b/opensm/opensm.spec.in
@@ -104,11 +104,11 @@ install -m 755 scripts/sldd.sh $RPM_BUILD_ROOT%{_sbindir}/sldd.sh
 rm -rf $RPM_BUILD_ROOT
 
 %post
-if [ $1 = 1 ]; then
-    /sbin/chkconfig --add opensmd
-else
-    /sbin/service opensmd condrestart
-fi
+#if [ $1 = 1 ]; then
+#    /sbin/chkconfig --add opensmd
+#else
+#    /sbin/service opensmd condrestart
+#fi
 
 %preun
 if [ $1 = 0 ]; then
-- 
1.5.4.rc2.60.gb2e62




More information about the general mailing list