mirror of
https://github.com/amnezia-vpn/amneziawg-tools.git
synced 2025-06-07 21:43:44 +02:00
Fix wg-quick
This commit is contained in:
parent
98869a07e9
commit
eec604dc95
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ auto_su() {
|
||||||
|
|
||||||
add_if() {
|
add_if() {
|
||||||
local ret
|
local ret
|
||||||
if ! cmd ip link add "$INTERFACE" type amnezia; then
|
if ! cmd ip link add "$INTERFACE" type amneziawg; then
|
||||||
ret=$?
|
ret=$?
|
||||||
[[ -e /sys/module/amneziawg ]] || ! command -v "${WG_QUICK_USERSPACE_IMPLEMENTATION:-amneziawg-go}" >/dev/null && exit $ret
|
[[ -e /sys/module/amneziawg ]] || ! command -v "${WG_QUICK_USERSPACE_IMPLEMENTATION:-amneziawg-go}" >/dev/null && exit $ret
|
||||||
echo "[!] Missing WireGuard (Amnezia VPN) kernel module. Falling back to slow userspace implementation." >&2
|
echo "[!] Missing WireGuard (Amnezia VPN) kernel module. Falling back to slow userspace implementation." >&2
|
||||||
|
|
Loading…
Add table
Reference in a new issue