Hello,

On Thu, 14 Dec 2017, Michael Orlitzky wrote:
>On 12/14/2017 12:43 PM, Helmut Jarausch wrote:
>> 
>> I have added the following lines to  /etc/conf.d/modules
>> 
>> modules="enhanceio"
>> modules="enhanceio_lru"
>> modules="enhanceio_fifo"
>> modules="enhanceio_rand"
>> 
>
>"modules" is a variable name, and it's being overwritten on each line.
>The /etc/init.d/modules script does something like
>
>  for module in $modules; do
>    load $module
>  done
>
>but in your case, "modules" will contain only the last thing you set it
>to, namely modules="enhanceio_rand".

Does openrc-run (or the old way) support adding to strings? I.e.:

====
modules+=" foo"
modules+=" bar"
====

or must one use

====
modules="${modules} foo"
modules="${modules} bar"
====

or must it even be one single string? Does that support embedded
linebreaks?

I think this should be documented better in the file.

-dnh

PS: I've had the opposite problem: modules automatically got loaded
    and I blacklisted them in /etc/modprobe.d/*.conf ;)

-- 
I find all proselytisation to be misguided at least. The way I see it, it's
not the Enlightened or the Chosen trying to save me or anyone, but just some
meme trying to survive in the great war for brain real estate.
                                                          -- Maarten Wiltink

Reply via email to