1 |
On Wed, Aug 17, 2016 at 2:59 AM, Martin Vaeth <martin@×××××.de> wrote: |
2 |
> William Hubbs <williamh@g.o> wrote: |
3 |
>> |
4 |
>> but I'm open to making the behaviour compatible |
5 |
>> with what systemd does |
6 |
> |
7 |
> Since openrc already supports tmpfiles.d, |
8 |
> support for modules-load.d would be natural. |
9 |
> In fact, this is already done for quite a while in |
10 |
> |
11 |
> https://github.com/vaeth/firewall-mv/blob/master/openrc/conf.d/modules |
12 |
> |
13 |
> The last line supports modules-load.d: |
14 |
> |
15 |
> modules=$(sed -n -e '/^[^;#]/p' /etc/modules-load.d/*.conf \ |
16 |
> /usr/lib/modules-load.d/*.conf 2>/dev/null || : ) |
17 |
|
18 |
This simple implementation does not follow the precedence rules |
19 |
documented in modules-load.d(5). |