From: Michael Orlitzky <mjo@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] openrc : autoload kernel modules
Date: Thu, 14 Dec 2017 17:09:16 -0500 [thread overview]
Message-ID: <87158e3f-bdd9-2ecc-03ee-0fa350fc05e5@gentoo.org> (raw)
In-Reply-To: <20171214203052.bmvxkj7wudt4l3my@grusum.endjinn.de>
On 12/14/2017 03:30 PM, David Haller wrote:
>
> 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?
It's all shell script that gets passed through /bin/sh, so you can get
away with anything that will work in your /bin/sh. If you plan on
distributing your changes, though, then you should stick to POSIX sh
because you never know what the end user will be running.
prev parent reply other threads:[~2017-12-14 22:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-14 17:43 [gentoo-user] openrc : autoload kernel modules Helmut Jarausch
2017-12-14 18:11 ` [gentoo-user] " Hartmut Figge
2017-12-14 19:09 ` Alexander Kapshuk
2017-12-14 18:43 ` [gentoo-user] " Michael Orlitzky
2017-12-14 18:48 ` Mick
2017-12-14 19:30 ` Helmut Jarausch
2017-12-14 20:30 ` David Haller
2017-12-14 22:09 ` Michael Orlitzky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87158e3f-bdd9-2ecc-03ee-0fa350fc05e5@gentoo.org \
--to=mjo@gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox