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 1Dur6B-00074q-GL for garchives@archives.gentoo.org; Tue, 19 Jul 2005 12:21:23 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6JCJFrT019773; Tue, 19 Jul 2005 12:19:15 GMT Received: from element.ksp.sk (element.ksp.edi.fmph.uniba.sk [158.195.16.154]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6JCDRuS000447 for ; Tue, 19 Jul 2005 12:13:27 GMT Received: from localhost ([127.0.0.1] helo=[10.10.2.33] ident=sslwrap) by element.ksp.sk with esmtp (Exim 3.36 #1 (Debian)) id 1DuqzR-00015l-00 for ; Tue, 19 Jul 2005 14:14:25 +0200 Message-ID: <42DCEEA0.6090501@mailbox.sk> Date: Tue, 19 Jul 2005 14:14:24 +0200 From: YoYo Siska User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050527) X-Accept-Language: en-us, en 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Determining the current runlevel References: <20050719103229.59118b4a@hactar.digimed.co.uk> <20050719122902.43beb1da@hactar.digimed.co.uk> In-Reply-To: <20050719122902.43beb1da@hactar.digimed.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 210dbb94-44f2-45e1-8008-e7525ac8f6ae X-Archives-Hash: 2452a2a95282eb1c80cbfb535de812c5 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...) -- gentoo-user@gentoo.org mailing list