[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re[2]: X and runlevels

On Mon 04 Sep 2000, Michael Bravo wrote:
> Monday, September 04, 2000, 3:01:42 PM, you wrote:
> PS> It's unfortunate that there's no easy way to find the current runlevel
> PS> (the usual "who -r" from Solaris etc. doesn't work)
> /sbin/runlevel can be used to find the current runlevel

So it does. It just reads /var/run/utmp, like who does, so
it should be trivial to add the -r flag to who :-)

Paul Slootman
home:       paul@wurtel.demon.nl http://www.wurtel.demon.nl/
work:       paul@murphy.nl       http://www.murphy.nl/
debian:     paul@debian.org      http://www.debian.org/
isdn4linux: paul@isdn4linux.de   http://www.isdn4linux.de/

To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: