Fixed issue #79

Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
Teddysun 2020-11-10 19:35:20 +09:00
parent 26d12ef390
commit 3a6a7133ad
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D

View File

@ -146,6 +146,7 @@ _is_installed() {
|| [ -s "/lib/modules/$(uname -r)/extra/wireguard.ko.xz" ] \
|| [ -s "/lib/modules/$(uname -r)/updates/dkms/wireguard.ko" ] \
|| [ -s "/lib/modules/$(uname -r)/updates/dkms/wireguard.ko.xz" ] \
|| [ -s "/lib/modules/$(uname -r)/kernel/wireguard/wireguard.ko" ] \
|| [ -s "/lib/modules/$(uname -r)/kernel/drivers/net/wireguard/wireguard.ko" ] \
|| [ -s "/lib/modules/$(uname -r)/kernel/drivers/net/wireguard/wireguard.ko.xz" ]; then
install_flag[1]=1