1 |
Neil Bothwick wrote: |
2 |
> On Tue, 19 Jul 2005 12:21:25 +0200, Remy Blank wrote: |
3 |
> |
4 |
> |
5 |
>># cat /var/lib/init.d/softlevel |
6 |
>>default |
7 |
> |
8 |
> |
9 |
> That's it! Many thanks. |
10 |
|
11 |
I usualy do: |
12 |
|
13 |
source /etc/conf.d/rc |
14 |
rl=`cat "$svcdir/softlevel"` |
15 |
|
16 |
just to be sure... ;) |
17 |
or directly |
18 |
|
19 |
source /sbin/functions.sh |
20 |
rl=`cat "$svcdir/softlevel"` |
21 |
|
22 |
functions.sh do source the config and have some functions that can be |
23 |
handy... (einfo, ewarn, eeror to begin with...) |
24 |
-- |
25 |
gentoo-user@g.o mailing list |