mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
Merge pull request #1550 from MichaIng/patch-1
Add support for xz-compressed WireGuard kernel module
This commit is contained in:
commit
e809d5bd32
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@ preconfigurePackages(){
|
|||
# and not part of the .deb).
|
||||
# Source: https://github.com/MichaIng/DietPi/blob/7bf5e1041f3b2972d7827c48215069d1c90eee07/dietpi/dietpi-software#L1807-L1815
|
||||
WIREGUARD_BUILTIN=0
|
||||
for i in /lib/modules/**/wireguard.ko; do
|
||||
for i in /lib/modules/**/wireguard.ko{,.xz}; do
|
||||
[[ -f $i ]] || continue
|
||||
dpkg-query -S "$i" &> /dev/null || continue
|
||||
WIREGUARD_BUILTIN=1
|
||||
|
|
Loading…
Reference in a new issue