mirror of
https://github.com/teddysun/across.git
synced 2025-01-19 06:19:35 +08:00
Update wireguard.sh
This commit is contained in:
parent
9fbd771d99
commit
9a8fab74f5
@ -146,7 +146,8 @@ _is_installed() {
|
|||||||
if [ -s "/lib/modules/$(uname -r)/extra/wireguard.ko" ] \
|
if [ -s "/lib/modules/$(uname -r)/extra/wireguard.ko" ] \
|
||||||
|| [ -s "/lib/modules/$(uname -r)/extra/wireguard.ko.xz" ] \
|
|| [ -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" ] \
|
||||||
|| [ -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
|
install_flag[1]=1
|
||||||
fi
|
fi
|
||||||
if [ "${install_flag[0]}" = "1" ] && [ "${install_flag[1]}" = "1" ]; then
|
if [ "${install_flag[0]}" = "1" ] && [ "${install_flag[1]}" = "1" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user