From 9a8fab74f590c779b2c261527d1a99274aff3a47 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Sun, 5 Apr 2020 18:16:09 +0900 Subject: [PATCH] Update wireguard.sh --- wireguard.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wireguard.sh b/wireguard.sh index f869f90..a3354e7 100644 --- a/wireguard.sh +++ b/wireguard.sh @@ -146,7 +146,8 @@ _is_installed() { if [ -s "/lib/modules/$(uname -r)/extra/wireguard.ko" ] \ || [ -s "/lib/modules/$(uname -r)/extra/wireguard.ko.xz" ] \ || [ -s "/lib/modules/$(uname -r)/updates/dkms/wireguard.ko" ] \ - || [ -s "/lib/modules/$(uname -r)/kernel/drivers/net/wireguard/wireguard.ko" ]; then + || [ -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 fi if [ "${install_flag[0]}" = "1" ] && [ "${install_flag[1]}" = "1" ]; then