Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Correct syntax for /etc/conf.d/modules
Date: Sun, 22 Apr 2012 08:31:19
Message-Id: 201204220930.01785.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Correct syntax for /etc/conf.d/modules by Neil Bothwick
1 On Sunday 22 Apr 2012 09:16:43 Neil Bothwick wrote:
2 > On Sun, 22 Apr 2012 08:02:13 +0100, Mick wrote:
3 > > modules_3_2="cls_tcindex"
4 > > modules_3_2="${modules_3_2} cls_tcindex"
5 > >
6 > > and only the last one actually loads. I don't understand how this
7 > > works or what ${modules_3_2} does ...
8 >
9 > The first one replaces the contents of modules_3_2 with cls_tcindex, the
10 > second adds cls_tcindex to any existing contents of modules_3_2. They are
11 > the string equivalents of
12 >
13 > x=1
14 > x=x+1
15
16 Awww! I see! So, if I have a list of modules on separate lines; e.g.
17
18 modules_3_2="x"
19
20 modules_3_2="y"
21
22 modules_3_2="z"
23
24 only module z will load - unless I add the ${modules_3_2} string!
25
26 It makes sense now. Thank you for explaining this! :-)
27 --
28 Regards,
29 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature