linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alex Netes <alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
To: Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH 2/4 for opensm] Make it possible to enable opensm with chkconfig
Date: Wed, 24 Oct 2012 15:19:40 +0200	[thread overview]
Message-ID: <20121024131940.GA18591@calypso> (raw)
In-Reply-To: <505C7CF7.8010804-HInyCGIudOg@public.gmane.org>

Hi Bart,

On 16:43 Fri 21 Sep     , Bart Van Assche wrote:
> "chkconfig $service on" enables a service in the runlevels mentioned
> next to "Default-Start" and only in those runlevels.
> 
> Signed-off-by: Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org>
> Cc: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> ---
>  configure.in                  |   10 ++++++++++
>  scripts/opensm.init.in        |    4 ++--
>  scripts/redhat-opensm.init.in |    3 +++
>  3 files changed, 15 insertions(+), 2 deletions(-)
> 
> diff --git a/configure.in b/configure.in
> index eb252ff..f660a5b 100644
> --- a/configure.in
> +++ b/configure.in
> @@ -11,6 +11,16 @@ AM_INIT_AUTOMAKE
>  AC_SUBST(RELEASE, ${RELEASE:-unknown})
>  AC_SUBST(TARBALL, ${TARBALL:-${PACKAGE}-${VERSION}.tar.gz})
>  
> +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
> +AC_SUBST(DEFAULT_START, $default_start)
> +AC_SUBST(DEFAULT_STOP, $default_stop)
> +

Can you please elaborate more why there is a difference with runlevels
selection between SUSE and RH?

-- Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2012-10-24 13:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-21 14:43 [PATCH 2/4 for opensm] Make it possible to enable opensm with chkconfig Bart Van Assche
     [not found] ` <505C7CF7.8010804-HInyCGIudOg@public.gmane.org>
2012-10-24 13:19   ` Alex Netes [this message]
2012-10-24 13:39     ` Bart Van Assche

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121024131940.GA18591@calypso \
    --to=alexne-vpraknaxozvwk0htik3j/w@public.gmane.org \
    --cc=bvanassche-HInyCGIudOg@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).