[gentoo-dev] Re: rfc: /etc/init.d/modules loading modules defined in files

2016-08-17 Thread Martin Vaeth
Mike Gilbert wrote: >> >> modules=$(sed -n -e '/^[^;#]/p' /etc/modules-load.d/*.conf \ >> /usr/lib/modules-load.d/*.conf 2>/dev/null || : ) > > This simple implementation does not follow the precedence rules > documented in modules-load.d(5). I didn't mean it as the recommended implementa

Re: [gentoo-dev] Re: rfc: /etc/init.d/modules loading modules defined in files

2016-08-17 Thread Mike Gilbert
On Wed, Aug 17, 2016 at 2:59 AM, Martin Vaeth wrote: > William Hubbs wrote: >> >> but I'm open to making the behaviour compatible >> with what systemd does > > Since openrc already supports tmpfiles.d, > support for modules-load.d would be natural. > In fact, this is already done for quite a whil

[gentoo-dev] Re: rfc: /etc/init.d/modules loading modules defined in files

2016-08-17 Thread Martin Vaeth
William Hubbs wrote: > > but I'm open to making the behaviour compatible > with what systemd does Since openrc already supports tmpfiles.d, support for modules-load.d would be natural. In fact, this is already done for quite a while in https://github.com/vaeth/firewall-mv/blob/master/openrc/conf