Get the latest tech news
Configure Kernel Modules Like a Pro
Kernel modules are powerful pieces of code that extend the capability of your kernel, for example, WireGuard was originally developed as a kernel module. Modules can be loaded at the time of kernel image load, initramfs load, or later on during the boot sequence. Unfortunately, the syntax of config files,
To set a module option, append modname.modoption=abc to the appropriate kernel command line in the GRUB config file (e.g./etc/default/grub). If required, you can also prevent loading of a module at the initramfs stage, by adding modprobe.blacklist=modname1 to your kernel command line. In OpenWRT, you can configure module loading and options by creating files in/etc/modules.d(no filename restrictions), using syntax modname1 or modname1 modoption=abc,123.
Or read this on Hacker News