From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DvEgl-0006HX-I6 for garchives@archives.gentoo.org; Wed, 20 Jul 2005 13:32:44 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6KDVkOK032732; Wed, 20 Jul 2005 13:31:46 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6KDQkSk004642 for ; Wed, 20 Jul 2005 13:26:46 GMT Received: by wproxy.gmail.com with SMTP id i5so1542798wra for ; Wed, 20 Jul 2005 06:26:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sxW0IttFQVQGsaJXKRiOzMRclFtQY6e0tmrg6jRth08lRi8l0WpbZvw1dEGVj9dJRwhfJmFZMiN4AfJpPVuskHAtZYEbzLP9OD3mk98X7XR5WNKH0+YEYAhUtpDPZDGEKKohA+l8ZWlRJ3lAJq+YEpfFuoWbWdy/oeS+f/ekqnU= Received: by 10.54.139.7 with SMTP id m7mr79420wrd; Wed, 20 Jul 2005 06:26:13 -0700 (PDT) Received: by 10.54.45.25 with HTTP; Wed, 20 Jul 2005 06:26:13 -0700 (PDT) Message-ID: <7e7f5e71050720062668aa0c1e@mail.gmail.com> Date: Wed, 20 Jul 2005 09:26:13 -0400 From: "A. R." To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Determining the current runlevel In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <20050719103229.59118b4a@hactar.digimed.co.uk> <20050719122902.43beb1da@hactar.digimed.co.uk> <42DCEEA0.6090501@mailbox.sk> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j6KDQkSk004642 X-Archives-Salt: 4bfddbc0-36e6-4bdc-a670-c1ec3ad1ff2d X-Archives-Hash: 0013a9557898cb6c7733a16d38f57d92 Hi there, try the command "runlevel" as root. HTH - AR On 7/19/05, michael@michaelshiloh.com wrote: > On Tue, 19 Jul 2005, YoYo Siska wrote: > > > Neil Bothwick wrote: > >> On Tue, 19 Jul 2005 12:21:25 +0200, Remy Blank wrote: > >> > >> > >>> # cat /var/lib/init.d/softlevel > >>> default > >> > >> > >> That's it! Many thanks. > > > > I usualy do: > > > > source /etc/conf.d/rc > > rl=`cat "$svcdir/softlevel"` > > > > just to be sure... ;) > > or directly > > > > source /sbin/functions.sh > > rl=`cat "$svcdir/softlevel"` > > > > functions.sh do source the config and have some functions that can be > > handy... (einfo, ewarn, eeror to begin with...) > > -- > > > But don't these just report what it would be if no on changed it? If you > force a runlevel change after the system has booted, is there any way to > find that out afterwards? > > -- > gentoo-user@gentoo.org mailing list > > -- If the truth can't set you free, a lie will save you. -- gentoo-user@gentoo.org mailing list