diff --git a/scripts/locales/en.lua b/scripts/locales/en.lua index 310195a29f..2315c521bc 100644 --- a/scripts/locales/en.lua +++ b/scripts/locales/en.lua @@ -2385,6 +2385,7 @@ local en = { dhcp_last_ip_descr = "The last IP address of the DHCP address pool", dhcp_server_description = "Enable the DHCP server.", invalid_dhcp_range = "Invalid DHCP range. Ensure that the DHCP IP addresses are inside the LAN network range, otherwise your devices won't be able to surf the web.", + needs_apply_and_reboot = "Apply the initial device configuration.", }, } diff --git a/scripts/lua/index.lua b/scripts/lua/index.lua index 0ba2261cbc..3e41de7330 100644 --- a/scripts/lua/index.lua +++ b/scripts/lua/index.lua @@ -10,6 +10,16 @@ require "lua_utils" interface.select(ifname) +if(ntop.isnEdge()) then + package.path = dirs.installdir .. "/pro/scripts/lua/nedge/modules/?.lua;" .. package.path + local nf_config = require("nf_config"):readable() + + if nf_config.isFirstStart() then + print(ntop.httpRedirect(ntop.getHttpPrefix().."lua/pro/nedge/system_setup/interfaces.lua")) + return + end +end + if(ntop.isPro()) then if interface.isPcapDumpInterface() == false then print(ntop.httpRedirect(ntop.getHttpPrefix().."/lua/pro/dashboard.lua"))