From patchwork Tue Jan 29 17:18:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Netes X-Patchwork-Id: 2063381 X-Patchwork-Delegate: alexne@voltaire.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 96B1540106 for ; Tue, 29 Jan 2013 17:19:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754009Ab3A2RS5 (ORCPT ); Tue, 29 Jan 2013 12:18:57 -0500 Received: from mail-qa0-f53.google.com ([209.85.216.53]:53376 "EHLO mail-qa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753999Ab3A2RS4 (ORCPT ); Tue, 29 Jan 2013 12:18:56 -0500 Received: by mail-qa0-f53.google.com with SMTP id z4so437631qan.19 for ; Tue, 29 Jan 2013 09:18:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:date:from:to:subject:message-id:mime-version :content-type:content-disposition:user-agent:x-gm-message-state; bh=Bf+tl9wOkblRr8vQU7EALLVb7p8RQYcsYQovTMhswlU=; b=RiME/Nhh21UlJxthb7OR1xGNY8o3Ggsk+K+eMltjBX51k65Vgu/dBgRmHJWlL3cxaK Pj/Od8LUqbVtebuYfxiOzmY9NqWYDfirTCJd9aw1JcH8azb7O5ocSWkRhdd2UfG2bT/d FKm2sPsX42sM6XAeD7CzN7mvlnrqklbfGxZFcApSsNgfiqfmZpCbx2x9n8bZOl2IO4ub WkNgXq9hPI806/06iV1xq7Zt5l2J/zIGcRKofiEUJInapoundWw2aXlG9VT5xxwYG70m FDv51o/n4hU4t8mc6nXrvRvmHfg00IdF0uNOsOgsYp4GqZKnZQgyhLaZlSwx8V3zR9EE Vp8w== X-Received: by 10.224.183.197 with SMTP id ch5mr1983392qab.27.1359479935356; Tue, 29 Jan 2013 09:18:55 -0800 (PST) Received: from localhost (out.voltaire.com. [193.47.165.251]) by mx.google.com with ESMTPS id jy4sm7921329qeb.12.2013.01.29.09.18.53 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 29 Jan 2013 09:18:54 -0800 (PST) Date: Tue, 29 Jan 2013 19:18:50 +0200 From: Alex Netes To: linux-rdma@vger.kernel.org, Bart Van Assche , Doug Ledford Subject: [PATCH] opensm/configure.in: Remove Default-Start from opensmd init script Message-ID: <20130129171850.GB2961@calypso.mtl.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQmN8JQBTpndlnLQ89gfEE7AUHuhbRN54GwYjlT86fULLSb+DlG0FORiccO8IgL/ZYwj/3wT Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org 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 --- configure.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)