Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Determining the current runlevel
Date: Tue, 19 Jul 2005 09:36:59
Message-Id: 20050719103229.59118b4a@hactar.digimed.co.uk
1 I'm sure I've seen this mentioned before, but can't find it. I need a way
2 to find the current Gentoo runlevel (not the numeric one) in a script. I
3 can check the level booted by grepping /proc/cmdline, but that fails if
4 the runlevel was subsequently changed with rc.
5
6
7 --
8 Neil Bothwick
9
10 Don't forget that MS-Windows is just a temporary workaround until you can
11 switch to a GNU system.

Replies

Subject Author
Re: [gentoo-user] Determining the current runlevel Ow Mun Heng <Ow.Mun.Heng@×××.com>
[gentoo-user] Re: Determining the current runlevel Remy Blank <remy.blank_asps@×××××.com>