File tree 1 file changed +6
-6
lines changed
ffmuc-mesh-vpn-wireguard-vxlan/shsrc/lib/gluon/gluon-mesh-wireguard-vxlan
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 18
18
exit
19
19
fi
20
20
21
+ # Some legacy code seem to have used "true" instead of the canonical "1".
22
+ # This should be overwritten by a gluon-reconfigure (see 400-mesh-vpn-wireguard)
23
+ if [[ "${mesh_vpn_enabled}" != "1" ]]; then
24
+ logger -p warn -t checkuplink "Invalid value for wireguard.mesh_vpn.enabled detected: '${mesh_vpn_enabled}'. Assuming enabled."
25
+ fi
26
+
21
27
get_site_string() {
22
28
local path="$1"
23
29
@@ -209,12 +215,6 @@ is_connected() {
209
215
210
216
# start main logic
211
217
212
- # Some legacy code seem to have used "true" instead of the canonical "1".
213
- # This should be overwritten by a gluon-reconfigure (see 400-mesh-vpn-wireguard)
214
- if [[ "${mesh_vpn_enabled}" != "1" ]]; then
215
- logger -p warn -t checkuplink "Invalid value for wireguard.mesh_vpn.enabled detected: '${mesh_vpn_enabled}'. Assuming enabled."
216
- fi
217
-
218
218
# Do we already have a private-key? If not generate one
219
219
if ! uci -q get wireguard.mesh_vpn.privatekey > /dev/null
220
220
then
You can’t perform that action at this time.
0 commit comments