On Tue, 19 Jul 2005 12:30:47 +0100, Richard Brown wrote:
> rc-status -nc | head -n 1 | cut -c11-
OK, that's the third way of doing it so far, any more? ;-)
--
Neil Bothwick
I only shoot IBM's to put them out of their misery.
pgpmGC2dIsbBz.pgp
Description: PGP signature
On 19/07/05, Neil Bothwick <[EMAIL PROTECTED]> wrote:
> On Tue, 19 Jul 2005 18:03:53 +0800, Ow Mun Heng 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
On Tue, 19 Jul 2005 18:03:53 +0800, Ow Mun Heng 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 runl
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
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
5 matches
Mail list logo