Exception in the log after starting the awg below:
daemon.notice netifd: Interface 'awg0' is setting up now
daemon.notice netifd: awg0 (16184): ./amneziawg.sh: eval: line 308: proto_amneziawg_check_installed: not found
kern.info kernel: [ 2116.844450] amneziawg: WireGuard 1.0.0 (Amnezia VPN) loaded. See www.wireguard.com for information.
kern.info kernel: [ 2116.853608] amneziawg: Copyright (C) 2015-2019 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved.
daemon.notice netifd: Interface 'awg0' is now down
daemon.notice netifd: Interface 'awg0' is setting up now
user.notice amneziawg: info: using kernel-space kmod-amneziawg for /usr/bin/awg
daemon.notice netifd: Interface 'awg0' is now up
daemon.notice netifd: Network device 'awg0' link is up
Source code (amneziawg.sh file of the 'amneziawg-tools'):
proto_amneziawg_teardown() {
local config="$1"
proto_amneziawg_check_installed
if proto_amneziawg_is_kernel_mode; then
ip link del dev "${config}" >/dev/null 2>&1
else
rm -f "/var/run/amneziawg/${config}.sock"
fi
}
Looks like "proto_amneziawg_check_installed" should be defined or removed from the 'proto_amneziawg_teardown' function
Exception in the log after starting the awg below:
Source code (amneziawg.sh file of the 'amneziawg-tools'):
Looks like "proto_amneziawg_check_installed" should be defined or removed from the 'proto_amneziawg_teardown' function