Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] Re: rfc: /etc/init.d/modules loading modules defined in files
Date: Wed, 17 Aug 2016 12:33:45
Message-Id: CAJ0EP43GcQVuR_io4m+pvzL=KyQOOLFwUJ_q6AqC5n-5sCX05A@mail.gmail.com
In Reply to: [gentoo-dev] Re: rfc: /etc/init.d/modules loading modules defined in files by Martin Vaeth
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).

Replies

Subject Author
[gentoo-dev] Re: rfc: /etc/init.d/modules loading modules defined in files Martin Vaeth <martin@×××××.de>