From: Remy Blank <remy.blank_asps@pobox.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Determining the current runlevel
Date: Tue, 19 Jul 2005 12:21:25 +0200 [thread overview]
Message-ID: <dbik75$qsr$1@sea.gmane.org> (raw)
In-Reply-To: <20050719103229.59118b4a@hactar.digimed.co.uk>
Neil Bothwick wrote:
> I'm sure I've seen this mentioned before, but can't find it. I need a way
> to find the current Gentoo runlevel (not the numeric one) in a script. I
> can check the level booted by grepping /proc/cmdline, but that fails if
> the runlevel was subsequently changed with rc.
# cat /var/lib/init.d/softlevel
default
HTH.
-- Remy
Remove underscore and suffix in reply address for a timely response.
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-07-19 10:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-19 9:32 [gentoo-user] Determining the current runlevel Neil Bothwick
2005-07-19 10:03 ` Ow Mun Heng
2005-07-19 11:09 ` Neil Bothwick
2005-07-19 11:30 ` Richard Brown
2005-07-19 12:47 ` Neil Bothwick
2005-07-19 10:21 ` Remy Blank [this message]
2005-07-19 11:29 ` [gentoo-user] " Neil Bothwick
2005-07-19 12:14 ` YoYo Siska
2005-07-19 20:14 ` michael
2005-07-20 13:26 ` A. R.
2005-07-20 13:37 ` Neil Bothwick
2005-07-20 13:44 ` A. R.
2005-07-20 14:23 ` Neil Bothwick
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='dbik75$qsr$1@sea.gmane.org' \
--to=remy.blank_asps@pobox.com \
--cc=gentoo-user@lists.gentoo.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