public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Determining the current runlevel
@ 2005-07-19  9:32 Neil Bothwick
  2005-07-19 10:03 ` Ow Mun Heng
  2005-07-19 10:21 ` [gentoo-user] " Remy Blank
  0 siblings, 2 replies; 13+ messages in thread
From: Neil Bothwick @ 2005-07-19  9:32 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

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.


-- 
Neil Bothwick

Don't forget that MS-Windows is just a temporary workaround until you can
switch to a GNU system.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-07-20 14:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [gentoo-user] " Remy Blank
2005-07-19 11:29   ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox