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

Reply via email to