William Hubbs <willi...@gentoo.org> 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.d/modules The last line supports modules-load.d: modules=$(sed -n -e '/^[^;#]/p' /etc/modules-load.d/*.conf \ /usr/lib/modules-load.d/*.conf 2>/dev/null || : ) For compatibility with other init systems one should perhaps not extend the format of modules-load.d: If one also wants to e.g. support args for modules, this should perhaps be done in a separate directory. /etc/modprobe.d already exists for this, but one might still source another directory which contains only files added to /etc/conf.d/modules