Mike Gilbert <flop...@gentoo.org> 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 implementation for openrc, but just wanted to illustrate that such pre-implementation are already in use. (Currently, this implementation is sufficient, because currently practically nothing installs into /usr/lib/modules-load.d, so masking is currently unneeded). _Of course_ I would suggest that a proper implementation in openrc should follow the standard completely.