supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Mike Buland <mike@geekgene.com>
To: supervision@list.skarnet.org
Subject: Re: Initial runlevel through kernel parameters
Date: Fri, 27 Apr 2007 15:04:32 -0600	[thread overview]
Message-ID: <200704271504.32399.mike@geekgene.com> (raw)
In-Reply-To: <20070427203318.6a7a00b1@rafaella.bq.cl>

That's so simple and obvious, I don't really know what to say.  Thank you so 
much for your prompt and useful help!

Thanks,
--Mike

On Friday 27 April 2007 06:33:18 pm Alejandro Mery wrote:
> Am 2007-04-27 schrieb Mike Buland <mike@geekgene.com>:
> > Is this possible?
>
> in linux to parse the command line is as simple as:
> set -- $( cat /proc/cmdline )
> for x; do
> 	case "$x" in
> 		whatever=*)	echo "$x"	;;
> 	esac
> done
>
> taking the value from there can be used at /etc/runit/1 to take
> decisions, like the initial runlevel.
>
> Alejandro Mery




  reply	other threads:[~2007-04-27 21:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-27 16:41 Mike Buland
2007-04-28  0:33 ` Alejandro Mery
2007-04-27 21:04   ` Mike Buland [this message]
2007-04-27 21:09     ` Alex Efros

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=200704271504.32399.mike@geekgene.com \
    --to=mike@geekgene.com \
    --cc=supervision@list.skarnet.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).