diff options
5 files changed, 10 insertions, 0 deletions
diff --git a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo.lua b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo.lua index 34ce02aa16..9dbf24ddfc 100644 --- a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo.lua +++ b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo.lua @@ -16,6 +16,8 @@ require("luci.i18n") require("luci.util") require("luci.sys") require("luci.model.uci") +require("luci.controller.luci_diag.netdiscover_common") +require("luci.controller.luci_diag.devinfo_common") local debug = false diff --git a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_mini.lua b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_mini.lua index 8bdc1e636c..341e2194c1 100644 --- a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_mini.lua +++ b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_mini.lua @@ -16,6 +16,8 @@ require("luci.i18n") require("luci.util") require("luci.sys") require("luci.model.uci") +require("luci.controller.luci_diag.netdiscover_common") +require("luci.controller.luci_diag.devinfo_common") local debug = false diff --git a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua index 99d3214869..8e9c922df0 100644 --- a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua +++ b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua @@ -16,6 +16,8 @@ require("luci.i18n") require("luci.util") require("luci.sys") require("luci.model.uci") +require("luci.controller.luci_diag.smap_common") +require("luci.controller.luci_diag.devinfo_common") local debug = false diff --git a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config_mini.lua b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config_mini.lua index f68af90605..fae9e6fc45 100644 --- a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config_mini.lua +++ b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config_mini.lua @@ -12,6 +12,8 @@ You may obtain a copy of the License at $Id$ ]]-- +require("luci.controller.luci_diag.devinfo_common") + m = Map("luci_devinfo", translate("l_d_d_sdc_mini_smap_to_devinfo_config"), translate("l_d_d_sdc_mini_smap_to_devinfo_config_descr")) s = m:section(SimpleSection, "", translate("l_d_d_sdc_mini_use_config")) diff --git a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua index 3f695a0a66..6af14b2e65 100644 --- a/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua +++ b/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua @@ -16,6 +16,8 @@ require("luci.i18n") require("luci.util") require("luci.sys") require("luci.model.uci") +require("luci.controller.luci_diag.smap_common") +require("luci.controller.luci_diag.devinfo_common") local debug = false |