From 805f21a1cd7fd2e06b761b8ad9e8ae8720917cbb Mon Sep 17 00:00:00 2001 From: Tobias Date: Wed, 3 Apr 2024 21:48:46 +0200 Subject: [PATCH] fix function --- .../files/lib/gluon/gluon-mesh-wireguard-vxlan/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/functions.sh b/ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/functions.sh index 9a19daf7..9a305742 100644 --- a/ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/functions.sh +++ b/ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/functions.sh @@ -202,7 +202,7 @@ is_connected() { return 1 # false } -check_NTP() [ +check_NTP() { NTP_SERVERS=$(uci get system.ntp.server) NTP_SERVERS_ADDRS="" @@ -232,7 +232,7 @@ check_NTP() [ logger -p err -t checkuplink "Unable to establish NTP connection to ${NTP_SERVERS}." exit 3 fi -] +} check_mesh_vpn() { export mesh_vpn_enabled="$(uci get wireguard.mesh_vpn.enabled)"