Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Correct syntax for /etc/conf.d/modules
Date: Sun, 22 Apr 2012 08:18:45
Message-Id: 20120422091643.026b6312@digimed.co.uk
In Reply to: Re: [gentoo-user] Correct syntax for /etc/conf.d/modules by Mick
1 On Sun, 22 Apr 2012 08:02:13 +0100, Mick wrote:
2
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
17 --
18 Neil Bothwick
19
20 "Be strict when sending and tolerant when receiving."
21 RFC 1958 - Architectural Principles of the Internet - section 3.9

Attachments

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

Replies

Subject Author
Re: [gentoo-user] Correct syntax for /etc/conf.d/modules Mick <michaelkintzios@×××××.com>