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 :-) Thanks, Paul Slootman -- home: [EMAIL PROTECTED] http://www.wurtel.demon.nl/ work: [EMAIL PROTECTED] http://www.murphy.nl/ debian: [EMAIL PROTECTED] http://www.debian.org/ isdn4linux: [EMAIL PROTECTED] http://www.isdn4linux.de/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]