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