diff mbox

opensm/configure.in: Remove Default-Start from opensmd init script

Message ID 20130129171850.GB2961@calypso.mtl.com (mailing list archive)
State Accepted
Delegated to: Alex Netes
Headers show

Commit Message

Alex Netes Jan. 29, 2013, 5:18 p.m. UTC
During opensm RPM packaging, `chkconfig --add opensmd` is called.
`chkconfig --add` creates the appropriate entry as specified by the
default values in the init script. Having opensmd run by default on boot
isn't desired.

Signed-off-by: Alex Netes <alexne@mellanox.com>
---
 configure.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/configure.in b/configure.in
index 4515ae2..f798be2 100644
--- a/configure.in
+++ b/configure.in
@@ -18,12 +18,13 @@  AC_ARG_WITH([rdma_service],
 AC_SUBST(RDMA_SERVICE, ${with_rdma_service:-${default_rdma_service}})
 
 if { rpm -q sles-release || rpm -q openSUSE-release; } >/dev/null 2>&1; then
-   default_start="2 3 5"
    default_stop="0 1 4 6"
 else
-   default_start="2 3 4 5"
    default_stop="0 1 6"
 fi
+
+default_start="null"
+
 AC_SUBST(DEFAULT_START, $default_start)
 AC_SUBST(DEFAULT_STOP, $default_stop)