fabianishere / udm-kernel-tools

Tools for bootstrapping custom kernels on the UniFi Dream Machine
GNU General Public License v2.0
330 stars 23 forks source link

Load native WireGuard kernel module #65

Closed fabianishere closed 2 years ago

fabianishere commented 2 years ago

This change fixes the init script to ignore the WireGuard module shipped in the Ubiquiti stock firmware. This module is not compatible with custom kernels. See the following issue: https://github.com/fabianishere/udm-kernel/issues/13

Currently, the init script will configure modprobe to force-load Ubiquiti's WireGuard version. This change updates it to ignore that WireGuard kernel module, in order to use the native module.