diff --git a/files/etc/cron.hourly/check-supernodes b/files/etc/cron.hourly/check-supernodes index c41995de..3ee3c561 100755 --- a/files/etc/cron.hourly/check-supernodes +++ b/files/etc/cron.hourly/check-supernodes @@ -47,7 +47,7 @@ if c:get("aredn", "@supernode[0]", "enable") == "1" then end -- Ignore supernodes? -if c:get("aredn", "@supernode[0]", "ignore") == "1" then +if c:get("aredn", "@supernode[0]", "support") == "0" then os.exit(0) end diff --git a/files/www/cgi-bin/advancedconfig b/files/www/cgi-bin/advancedconfig index 41f40047..4912aed0 100755 --- a/files/www/cgi-bin/advancedconfig +++ b/files/www/cgi-bin/advancedconfig @@ -295,10 +295,10 @@ local settings = { }, { category = "Supernode Settings", - key = "aredn.@supernode[0].ignore", + key = "aredn.@supernode[0].support", type = "boolean", - desc = "Ignore any Supernodes found on the mesh

aredn.@supernode[0].ignore", - default = "0" + desc = "Use any Supernodes found on the mesh

aredn.@supernode[0].support", + default = "1" }, { category = "Network Tools",