On Tue, 2005-07-19 at 10:32 +0100, 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.

not sure if executing

$runlevel
N 3

helps?


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 18:03:34 up 2 days, 1:11, 9 users, load average: 2.53, 1.24,
1.01 


-- 
gentoo-user@gentoo.org mailing list

Reply via email to