summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/luci-base/luasrc/controller/admin/index.lua40
-rw-r--r--modules/luci-base/luasrc/view/cbi/wireless_modefreq.htm (renamed from modules/luci-mod-admin-full/luasrc/view/cbi/wireless_modefreq.htm)0
-rw-r--r--modules/luci-base/luasrc/view/lease_status.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_network/lease_status.htm)2
-rw-r--r--modules/luci-base/luasrc/view/wifi_assoclist.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_assoclist.htm)2
-rw-r--r--modules/luci-mod-admin-full/Makefile3
-rw-r--r--modules/luci-mod-network/Makefile17
-rw-r--r--modules/luci-mod-network/luasrc/controller/admin/network.lua (renamed from modules/luci-mod-admin-full/luasrc/controller/admin/network.lua)25
-rw-r--r--modules/luci-mod-network/luasrc/model/cbi/admin_network/dhcp.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua)2
-rw-r--r--modules/luci-mod-network/luasrc/model/cbi/admin_network/hosts.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/hosts.lua)0
-rw-r--r--modules/luci-mod-network/luasrc/model/cbi/admin_network/iface_add.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/iface_add.lua)0
-rw-r--r--modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua)0
-rw-r--r--modules/luci-mod-network/luasrc/model/cbi/admin_network/network.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua)0
-rw-r--r--modules/luci-mod-network/luasrc/model/cbi/admin_network/proto_ahcp.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/proto_ahcp.lua)0
-rw-r--r--modules/luci-mod-network/luasrc/model/cbi/admin_network/routes.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/routes.lua)0
-rw-r--r--modules/luci-mod-network/luasrc/model/cbi/admin_network/vlan.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/vlan.lua)0
-rw-r--r--modules/luci-mod-network/luasrc/model/cbi/admin_network/wifi.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua)0
-rw-r--r--modules/luci-mod-network/luasrc/model/cbi/admin_network/wifi_add.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua)0
-rw-r--r--modules/luci-mod-network/luasrc/model/cbi/admin_network/wifi_overview.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_overview.lua)2
-rw-r--r--modules/luci-mod-network/luasrc/view/admin_network/diagnostics.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm)0
-rw-r--r--modules/luci-mod-network/luasrc/view/admin_network/iface_overview_status.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_network/iface_overview_status.htm)0
-rw-r--r--modules/luci-mod-network/luasrc/view/admin_network/iface_status.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_network/iface_status.htm)0
-rw-r--r--modules/luci-mod-network/luasrc/view/admin_network/switch_status.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_network/switch_status.htm)0
-rw-r--r--modules/luci-mod-network/luasrc/view/admin_network/wifi_join.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_join.htm)0
-rw-r--r--modules/luci-mod-network/luasrc/view/admin_network/wifi_overview_status.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_overview_status.htm)0
-rw-r--r--modules/luci-mod-network/luasrc/view/admin_network/wifi_status.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_status.htm)0
-rwxr-xr-xmodules/luci-mod-network/root/etc/uci-defaults/50_luci-mod-admin-full (renamed from modules/luci-mod-admin-full/root/etc/uci-defaults/50_luci-mod-admin-full)0
-rw-r--r--modules/luci-mod-status/Makefile18
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/bandwidth.svg (renamed from modules/luci-mod-admin-full/htdocs/luci-static/resources/bandwidth.svg)0
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/connections.svg (renamed from modules/luci-mod-admin-full/htdocs/luci-static/resources/connections.svg)0
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/load.svg (renamed from modules/luci-mod-admin-full/htdocs/luci-static/resources/load.svg)0
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/wifirate.svg (renamed from modules/luci-mod-admin-full/htdocs/luci-static/resources/wifirate.svg)0
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/wireless.svg (renamed from modules/luci-mod-admin-full/htdocs/luci-static/resources/wireless.svg)0
-rw-r--r--modules/luci-mod-status/luasrc/controller/admin/status.lua (renamed from modules/luci-mod-admin-full/luasrc/controller/admin/status.lua)0
-rw-r--r--modules/luci-mod-status/luasrc/model/cbi/admin_status/processes.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_status/processes.lua)0
-rw-r--r--modules/luci-mod-status/luasrc/view/admin_status/bandwidth.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_status/bandwidth.htm)0
-rw-r--r--modules/luci-mod-status/luasrc/view/admin_status/connections.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_status/connections.htm)0
-rw-r--r--modules/luci-mod-status/luasrc/view/admin_status/dmesg.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_status/dmesg.htm)0
-rw-r--r--modules/luci-mod-status/luasrc/view/admin_status/index.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm)4
-rw-r--r--modules/luci-mod-status/luasrc/view/admin_status/iptables.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_status/iptables.htm)0
-rw-r--r--modules/luci-mod-status/luasrc/view/admin_status/load.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_status/load.htm)0
-rw-r--r--modules/luci-mod-status/luasrc/view/admin_status/routes.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm)0
-rw-r--r--modules/luci-mod-status/luasrc/view/admin_status/syslog.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_status/syslog.htm)0
-rw-r--r--modules/luci-mod-status/luasrc/view/admin_status/wireless.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_status/wireless.htm)0
-rw-r--r--modules/luci-mod-status/src/Makefile (renamed from modules/luci-mod-admin-full/src/Makefile)0
-rw-r--r--modules/luci-mod-status/src/luci-bwc.c (renamed from modules/luci-mod-admin-full/src/luci-bwc.c)0
-rw-r--r--modules/luci-mod-system/Makefile17
-rw-r--r--modules/luci-mod-system/luasrc/controller/admin/system.lua (renamed from modules/luci-mod-admin-full/luasrc/controller/admin/system.lua)0
-rw-r--r--modules/luci-mod-system/luasrc/model/cbi/admin_system/admin.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/admin.lua)0
-rw-r--r--modules/luci-mod-system/luasrc/model/cbi/admin_system/backupfiles.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/backupfiles.lua)0
-rw-r--r--modules/luci-mod-system/luasrc/model/cbi/admin_system/crontab.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/crontab.lua)0
-rw-r--r--modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab.lua)0
-rw-r--r--modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab/mount.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua)0
-rw-r--r--modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab/swap.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/swap.lua)0
-rw-r--r--modules/luci-mod-system/luasrc/model/cbi/admin_system/ipkg.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/ipkg.lua)0
-rw-r--r--modules/luci-mod-system/luasrc/model/cbi/admin_system/leds.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/leds.lua)0
-rw-r--r--modules/luci-mod-system/luasrc/model/cbi/admin_system/startup.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/startup.lua)0
-rw-r--r--modules/luci-mod-system/luasrc/model/cbi/admin_system/system.lua (renamed from modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/system.lua)0
-rw-r--r--modules/luci-mod-system/luasrc/view/admin_system/applyreboot.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_system/applyreboot.htm)0
-rw-r--r--modules/luci-mod-system/luasrc/view/admin_system/backupfiles.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_system/backupfiles.htm)0
-rw-r--r--modules/luci-mod-system/luasrc/view/admin_system/clock_status.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_system/clock_status.htm)0
-rw-r--r--modules/luci-mod-system/luasrc/view/admin_system/flashops.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_system/flashops.htm)0
-rw-r--r--modules/luci-mod-system/luasrc/view/admin_system/ipkg.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_system/ipkg.htm)0
-rw-r--r--modules/luci-mod-system/luasrc/view/admin_system/packages.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_system/packages.htm)0
-rw-r--r--modules/luci-mod-system/luasrc/view/admin_system/reboot.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_system/reboot.htm)0
-rw-r--r--modules/luci-mod-system/luasrc/view/admin_system/upgrade.htm (renamed from modules/luci-mod-admin-full/luasrc/view/admin_system/upgrade.htm)0
65 files changed, 99 insertions, 33 deletions
diff --git a/modules/luci-base/luasrc/controller/admin/index.lua b/modules/luci-base/luasrc/controller/admin/index.lua
index 39e6e573b1..360298b1cd 100644
--- a/modules/luci-base/luasrc/controller/admin/index.lua
+++ b/modules/luci-base/luasrc/controller/admin/index.lua
@@ -16,6 +16,8 @@ function index()
end
end
+ local uci = require("luci.model.uci").cursor()
+
local root = node()
if not root.target then
root.target = alias("admin")
@@ -23,6 +25,7 @@ function index()
end
local page = node("admin")
+
page.title = _("Administration")
page.order = 10
page.sysauth = "root"
@@ -61,6 +64,24 @@ function index()
page.index = true
toplevel_page(page, false, false)
+ if nixio.fs.access("/etc/config/dhcp") then
+ page = entry({"admin", "dhcplease_status"}, call("lease_status"), nil)
+ page.leaf = true
+ end
+
+ local has_wifi = false
+
+ uci:foreach("wireless", "wifi-device",
+ function(s)
+ has_wifi = true
+ return false
+ end)
+
+ if has_wifi then
+ page = entry({"admin", "wireless_assoclist"}, call("wifi_assoclist"), nil)
+ page.leaf = true
+ end
+
-- Logout is last
entry({"admin", "logout"}, call("action_logout"), _("Logout"), 999)
end
@@ -80,3 +101,22 @@ function action_logout()
luci.http.redirect(dsp.build_url())
end
+
+
+function lease_status()
+ local s = require "luci.tools.status"
+
+ luci.http.prepare_content("application/json")
+ luci.http.write('[')
+ luci.http.write_json(s.dhcp_leases())
+ luci.http.write(',')
+ luci.http.write_json(s.dhcp6_leases())
+ luci.http.write(']')
+end
+
+function wifi_assoclist()
+ local s = require "luci.tools.status"
+
+ luci.http.prepare_content("application/json")
+ luci.http.write_json(s.wifi_assoclist())
+end
diff --git a/modules/luci-mod-admin-full/luasrc/view/cbi/wireless_modefreq.htm b/modules/luci-base/luasrc/view/cbi/wireless_modefreq.htm
index ebb02e489b..ebb02e489b 100644
--- a/modules/luci-mod-admin-full/luasrc/view/cbi/wireless_modefreq.htm
+++ b/modules/luci-base/luasrc/view/cbi/wireless_modefreq.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/lease_status.htm b/modules/luci-base/luasrc/view/lease_status.htm
index 8fbbdc9477..15b6b6908e 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_network/lease_status.htm
+++ b/modules/luci-base/luasrc/view/lease_status.htm
@@ -1,5 +1,5 @@
<script type="text/javascript">//<![CDATA[
- XHR.poll(5, '<%=url('admin/network/dhcplease_status')%>', null,
+ XHR.poll(5, '<%=url('admin/dhcplease_status')%>', null,
function(x, st)
{
var tb = document.getElementById('lease_status_table');
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_assoclist.htm b/modules/luci-base/luasrc/view/wifi_assoclist.htm
index b6f84c0607..700d998ad8 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_assoclist.htm
+++ b/modules/luci-base/luasrc/view/wifi_assoclist.htm
@@ -17,7 +17,7 @@
return s;
}
- XHR.poll(5, '<%=url('admin/network/wireless_assoclist')%>', null,
+ XHR.poll(5, '<%=url('admin/wireless_assoclist')%>', null,
function(x, st)
{
var tb = document.getElementById('wifi_assoclist_table');
diff --git a/modules/luci-mod-admin-full/Makefile b/modules/luci-mod-admin-full/Makefile
index 36ddf13f16..b376b35e55 100644
--- a/modules/luci-mod-admin-full/Makefile
+++ b/modules/luci-mod-admin-full/Makefile
@@ -7,9 +7,8 @@
include $(TOPDIR)/rules.mk
LUCI_TITLE:=LuCI Administration - full-featured for full control
-LUCI_DEPENDS:=+luci-base
+LUCI_DEPENDS:=+luci-base +luci-mod-status +luci-mod-system +luci-mod-network
-PKG_BUILD_DEPENDS:=iwinfo
PKG_LICENSE:=Apache-2.0
include ../../luci.mk
diff --git a/modules/luci-mod-network/Makefile b/modules/luci-mod-network/Makefile
new file mode 100644
index 0000000000..5958765da7
--- /dev/null
+++ b/modules/luci-mod-network/Makefile
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2008-2014 The LuCI Team <luci@lists.subsignal.org>
+#
+# This is free software, licensed under the Apache License, Version 2.0 .
+#
+
+include $(TOPDIR)/rules.mk
+
+LUCI_TITLE:=LuCI Network Administration
+LUCI_DEPENDS:=+luci-base +libiwinfo-lua
+
+PKG_LICENSE:=Apache-2.0
+
+include ../../luci.mk
+
+# call BuildPackage - OpenWrt buildroot signature
+
diff --git a/modules/luci-mod-admin-full/luasrc/controller/admin/network.lua b/modules/luci-mod-network/luasrc/controller/admin/network.lua
index c4e1c3aa16..a587b7e513 100644
--- a/modules/luci-mod-admin-full/luasrc/controller/admin/network.lua
+++ b/modules/luci-mod-network/luasrc/controller/admin/network.lua
@@ -37,9 +37,6 @@ function index()
end)
if has_wifi then
- page = entry({"admin", "network", "wireless_assoclist"}, call("wifi_assoclist"), nil)
- page.leaf = true
-
page = entry({"admin", "network", "wireless_join"}, post("wifi_join"), nil)
page.leaf = true
@@ -110,9 +107,6 @@ function index()
page.title = _("DHCP and DNS")
page.order = 30
- page = entry({"admin", "network", "dhcplease_status"}, call("lease_status"), nil)
- page.leaf = true
-
page = node("admin", "network", "hosts")
page.target = cbi("admin_network/hosts")
page.title = _("Hostnames")
@@ -302,14 +296,6 @@ function wifi_reconnect(radio)
end
end
-function wifi_assoclist()
- local s = require "luci.tools.status"
-
- luci.http.prepare_content("application/json")
- luci.http.write_json(s.wifi_assoclist())
-end
-
-
local function _wifi_get_scan_results(cache_key)
local results = luci.util.ubus("session", "get", {
ubus_rpc_session = luci.model.uci:get_session_id(),
@@ -381,17 +367,6 @@ function wifi_scan_results(radio)
end
end
-function lease_status()
- local s = require "luci.tools.status"
-
- luci.http.prepare_content("application/json")
- luci.http.write('[')
- luci.http.write_json(s.dhcp_leases())
- luci.http.write(',')
- luci.http.write_json(s.dhcp6_leases())
- luci.http.write(']')
-end
-
function switch_status(switches)
local s = require "luci.tools.status"
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua b/modules/luci-mod-network/luasrc/model/cbi/admin_network/dhcp.lua
index ae8a95f9ce..3ac49d635d 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua
+++ b/modules/luci-mod-network/luasrc/model/cbi/admin_network/dhcp.lua
@@ -266,7 +266,7 @@ o = s:taboption("general", DynamicList, "notinterface",
o.optional = true
o:depends("nonwildcard", true)
-m:section(SimpleSection).template = "admin_network/lease_status"
+m:section(SimpleSection).template = "lease_status"
s = m:section(TypedSection, "host", translate("Static Leases"),
translate("Static leases are used to assign fixed IP addresses and symbolic hostnames to " ..
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/hosts.lua b/modules/luci-mod-network/luasrc/model/cbi/admin_network/hosts.lua
index 46945af58b..46945af58b 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/hosts.lua
+++ b/modules/luci-mod-network/luasrc/model/cbi/admin_network/hosts.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/iface_add.lua b/modules/luci-mod-network/luasrc/model/cbi/admin_network/iface_add.lua
index ca66e9f365..ca66e9f365 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/iface_add.lua
+++ b/modules/luci-mod-network/luasrc/model/cbi/admin_network/iface_add.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua b/modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua
index 8be354b448..8be354b448 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua
+++ b/modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua b/modules/luci-mod-network/luasrc/model/cbi/admin_network/network.lua
index 799386d29c..799386d29c 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua
+++ b/modules/luci-mod-network/luasrc/model/cbi/admin_network/network.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/proto_ahcp.lua b/modules/luci-mod-network/luasrc/model/cbi/admin_network/proto_ahcp.lua
index 0818199a93..0818199a93 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/proto_ahcp.lua
+++ b/modules/luci-mod-network/luasrc/model/cbi/admin_network/proto_ahcp.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/routes.lua b/modules/luci-mod-network/luasrc/model/cbi/admin_network/routes.lua
index 1970f36a28..1970f36a28 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/routes.lua
+++ b/modules/luci-mod-network/luasrc/model/cbi/admin_network/routes.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/vlan.lua b/modules/luci-mod-network/luasrc/model/cbi/admin_network/vlan.lua
index d79b3c4704..d79b3c4704 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/vlan.lua
+++ b/modules/luci-mod-network/luasrc/model/cbi/admin_network/vlan.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/luci-mod-network/luasrc/model/cbi/admin_network/wifi.lua
index 743efaa1e8..743efaa1e8 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/modules/luci-mod-network/luasrc/model/cbi/admin_network/wifi.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua b/modules/luci-mod-network/luasrc/model/cbi/admin_network/wifi_add.lua
index e8a3058826..e8a3058826 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua
+++ b/modules/luci-mod-network/luasrc/model/cbi/admin_network/wifi_add.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_overview.lua b/modules/luci-mod-network/luasrc/model/cbi/admin_network/wifi_overview.lua
index ad20f09187..3bffb3502c 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_overview.lua
+++ b/modules/luci-mod-network/luasrc/model/cbi/admin_network/wifi_overview.lua
@@ -216,7 +216,7 @@ s = m:section(NamedSection, "__assoclist__")
function s.render(self, sid)
tpl.render_string([[
<h2><%:Associated Stations%></h2>
- <%+admin_network/wifi_assoclist%>
+ <%+wifi_assoclist%>
]])
end
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm b/modules/luci-mod-network/luasrc/view/admin_network/diagnostics.htm
index 03dd5aab29..03dd5aab29 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm
+++ b/modules/luci-mod-network/luasrc/view/admin_network/diagnostics.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_overview_status.htm b/modules/luci-mod-network/luasrc/view/admin_network/iface_overview_status.htm
index 7427154a04..7427154a04 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_overview_status.htm
+++ b/modules/luci-mod-network/luasrc/view/admin_network/iface_overview_status.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_status.htm b/modules/luci-mod-network/luasrc/view/admin_network/iface_status.htm
index 34be35dd20..34be35dd20 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_status.htm
+++ b/modules/luci-mod-network/luasrc/view/admin_network/iface_status.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/switch_status.htm b/modules/luci-mod-network/luasrc/view/admin_network/switch_status.htm
index 68f0bbc9d4..68f0bbc9d4 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_network/switch_status.htm
+++ b/modules/luci-mod-network/luasrc/view/admin_network/switch_status.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_join.htm b/modules/luci-mod-network/luasrc/view/admin_network/wifi_join.htm
index 987123642f..987123642f 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_join.htm
+++ b/modules/luci-mod-network/luasrc/view/admin_network/wifi_join.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_overview_status.htm b/modules/luci-mod-network/luasrc/view/admin_network/wifi_overview_status.htm
index 9730bc2c92..9730bc2c92 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_overview_status.htm
+++ b/modules/luci-mod-network/luasrc/view/admin_network/wifi_overview_status.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_status.htm b/modules/luci-mod-network/luasrc/view/admin_network/wifi_status.htm
index bfad3d0804..bfad3d0804 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_status.htm
+++ b/modules/luci-mod-network/luasrc/view/admin_network/wifi_status.htm
diff --git a/modules/luci-mod-admin-full/root/etc/uci-defaults/50_luci-mod-admin-full b/modules/luci-mod-network/root/etc/uci-defaults/50_luci-mod-admin-full
index 372eb15122..372eb15122 100755
--- a/modules/luci-mod-admin-full/root/etc/uci-defaults/50_luci-mod-admin-full
+++ b/modules/luci-mod-network/root/etc/uci-defaults/50_luci-mod-admin-full
diff --git a/modules/luci-mod-status/Makefile b/modules/luci-mod-status/Makefile
new file mode 100644
index 0000000000..cf8c8ddf83
--- /dev/null
+++ b/modules/luci-mod-status/Makefile
@@ -0,0 +1,18 @@
+#
+# Copyright (C) 2008-2014 The LuCI Team <luci@lists.subsignal.org>
+#
+# This is free software, licensed under the Apache License, Version 2.0 .
+#
+
+include $(TOPDIR)/rules.mk
+
+LUCI_TITLE:=LuCI Status Pages
+LUCI_DEPENDS:=+luci-base +libiwinfo +libiwinfo-lua
+
+PKG_BUILD_DEPENDS:=iwinfo
+PKG_LICENSE:=Apache-2.0
+
+include ../../luci.mk
+
+# call BuildPackage - OpenWrt buildroot signature
+
diff --git a/modules/luci-mod-admin-full/htdocs/luci-static/resources/bandwidth.svg b/modules/luci-mod-status/htdocs/luci-static/resources/bandwidth.svg
index 5a121b85c6..5a121b85c6 100644
--- a/modules/luci-mod-admin-full/htdocs/luci-static/resources/bandwidth.svg
+++ b/modules/luci-mod-status/htdocs/luci-static/resources/bandwidth.svg
diff --git a/modules/luci-mod-admin-full/htdocs/luci-static/resources/connections.svg b/modules/luci-mod-status/htdocs/luci-static/resources/connections.svg
index 5794e79426..5794e79426 100644
--- a/modules/luci-mod-admin-full/htdocs/luci-static/resources/connections.svg
+++ b/modules/luci-mod-status/htdocs/luci-static/resources/connections.svg
diff --git a/modules/luci-mod-admin-full/htdocs/luci-static/resources/load.svg b/modules/luci-mod-status/htdocs/luci-static/resources/load.svg
index 716d37617f..716d37617f 100644
--- a/modules/luci-mod-admin-full/htdocs/luci-static/resources/load.svg
+++ b/modules/luci-mod-status/htdocs/luci-static/resources/load.svg
diff --git a/modules/luci-mod-admin-full/htdocs/luci-static/resources/wifirate.svg b/modules/luci-mod-status/htdocs/luci-static/resources/wifirate.svg
index e75ea614c9..e75ea614c9 100644
--- a/modules/luci-mod-admin-full/htdocs/luci-static/resources/wifirate.svg
+++ b/modules/luci-mod-status/htdocs/luci-static/resources/wifirate.svg
diff --git a/modules/luci-mod-admin-full/htdocs/luci-static/resources/wireless.svg b/modules/luci-mod-status/htdocs/luci-static/resources/wireless.svg
index 00cc2a12f1..00cc2a12f1 100644
--- a/modules/luci-mod-admin-full/htdocs/luci-static/resources/wireless.svg
+++ b/modules/luci-mod-status/htdocs/luci-static/resources/wireless.svg
diff --git a/modules/luci-mod-admin-full/luasrc/controller/admin/status.lua b/modules/luci-mod-status/luasrc/controller/admin/status.lua
index 4f04cce545..4f04cce545 100644
--- a/modules/luci-mod-admin-full/luasrc/controller/admin/status.lua
+++ b/modules/luci-mod-status/luasrc/controller/admin/status.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_status/processes.lua b/modules/luci-mod-status/luasrc/model/cbi/admin_status/processes.lua
index 0a6e48fd8e..0a6e48fd8e 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_status/processes.lua
+++ b/modules/luci-mod-status/luasrc/model/cbi/admin_status/processes.lua
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/bandwidth.htm b/modules/luci-mod-status/luasrc/view/admin_status/bandwidth.htm
index 3bb55f9054..3bb55f9054 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_status/bandwidth.htm
+++ b/modules/luci-mod-status/luasrc/view/admin_status/bandwidth.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/connections.htm b/modules/luci-mod-status/luasrc/view/admin_status/connections.htm
index 0a0db3be78..0a0db3be78 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_status/connections.htm
+++ b/modules/luci-mod-status/luasrc/view/admin_status/connections.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/dmesg.htm b/modules/luci-mod-status/luasrc/view/admin_status/dmesg.htm
index 1a8770ef88..1a8770ef88 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_status/dmesg.htm
+++ b/modules/luci-mod-status/luasrc/view/admin_status/dmesg.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm b/modules/luci-mod-status/luasrc/view/admin_status/index.htm
index 8820ae1cf3..3edfd92047 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
+++ b/modules/luci-mod-status/luasrc/view/admin_status/index.htm
@@ -442,7 +442,7 @@
<%
if has_dhcp then
- include("admin_network/lease_status")
+ include("lease_status")
end
%>
@@ -468,7 +468,7 @@
<div class="cbi-section">
<h3><%:Associated Stations%></h3>
- <%+admin_network/wifi_assoclist%>
+ <%+wifi_assoclist%>
</div>
<% end %>
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/iptables.htm b/modules/luci-mod-status/luasrc/view/admin_status/iptables.htm
index 51e428e40e..51e428e40e 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_status/iptables.htm
+++ b/modules/luci-mod-status/luasrc/view/admin_status/iptables.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/load.htm b/modules/luci-mod-status/luasrc/view/admin_status/load.htm
index bced06fa22..bced06fa22 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_status/load.htm
+++ b/modules/luci-mod-status/luasrc/view/admin_status/load.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm b/modules/luci-mod-status/luasrc/view/admin_status/routes.htm
index 74779f6ad8..74779f6ad8 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm
+++ b/modules/luci-mod-status/luasrc/view/admin_status/routes.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/syslog.htm b/modules/luci-mod-status/luasrc/view/admin_status/syslog.htm
index fb734a76d9..fb734a76d9 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_status/syslog.htm
+++ b/modules/luci-mod-status/luasrc/view/admin_status/syslog.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/wireless.htm b/modules/luci-mod-status/luasrc/view/admin_status/wireless.htm
index 8ec43cb0e6..8ec43cb0e6 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_status/wireless.htm
+++ b/modules/luci-mod-status/luasrc/view/admin_status/wireless.htm
diff --git a/modules/luci-mod-admin-full/src/Makefile b/modules/luci-mod-status/src/Makefile
index d6ed8c6e46..d6ed8c6e46 100644
--- a/modules/luci-mod-admin-full/src/Makefile
+++ b/modules/luci-mod-status/src/Makefile
diff --git a/modules/luci-mod-admin-full/src/luci-bwc.c b/modules/luci-mod-status/src/luci-bwc.c
index 8ddd91727a..8ddd91727a 100644
--- a/modules/luci-mod-admin-full/src/luci-bwc.c
+++ b/modules/luci-mod-status/src/luci-bwc.c
diff --git a/modules/luci-mod-system/Makefile b/modules/luci-mod-system/Makefile
new file mode 100644
index 0000000000..a6d5a7a456
--- /dev/null
+++ b/modules/luci-mod-system/Makefile
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2008-2014 The LuCI Team <luci@lists.subsignal.org>
+#
+# This is free software, licensed under the Apache License, Version 2.0 .
+#
+
+include $(TOPDIR)/rules.mk
+
+LUCI_TITLE:=LuCI Administration - Global System Settings
+LUCI_DEPENDS:=+luci-base
+
+PKG_LICENSE:=Apache-2.0
+
+include ../../luci.mk
+
+# call BuildPackage - OpenWrt buildroot signature
+
diff --git a/modules/luci-mod-admin-full/luasrc/controller/admin/system.lua b/modules/luci-mod-system/luasrc/controller/admin/system.lua
index 4e83769ee0..4e83769ee0 100644
--- a/modules/luci-mod-admin-full/luasrc/controller/admin/system.lua
+++ b/modules/luci-mod-system/luasrc/controller/admin/system.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/admin.lua b/modules/luci-mod-system/luasrc/model/cbi/admin_system/admin.lua
index 6c1c1235c5..6c1c1235c5 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/admin.lua
+++ b/modules/luci-mod-system/luasrc/model/cbi/admin_system/admin.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/backupfiles.lua b/modules/luci-mod-system/luasrc/model/cbi/admin_system/backupfiles.lua
index ee2401e93d..ee2401e93d 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/backupfiles.lua
+++ b/modules/luci-mod-system/luasrc/model/cbi/admin_system/backupfiles.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/crontab.lua b/modules/luci-mod-system/luasrc/model/cbi/admin_system/crontab.lua
index 016a6199aa..016a6199aa 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/crontab.lua
+++ b/modules/luci-mod-system/luasrc/model/cbi/admin_system/crontab.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab.lua b/modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab.lua
index 3ce5351bf0..3ce5351bf0 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab.lua
+++ b/modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua b/modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab/mount.lua
index a85872afad..a85872afad 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua
+++ b/modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab/mount.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/swap.lua b/modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab/swap.lua
index 82468d5fcc..82468d5fcc 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/swap.lua
+++ b/modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab/swap.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/ipkg.lua b/modules/luci-mod-system/luasrc/model/cbi/admin_system/ipkg.lua
index 7c6d7e1c66..7c6d7e1c66 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/ipkg.lua
+++ b/modules/luci-mod-system/luasrc/model/cbi/admin_system/ipkg.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/leds.lua b/modules/luci-mod-system/luasrc/model/cbi/admin_system/leds.lua
index 2ea044e16a..2ea044e16a 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/leds.lua
+++ b/modules/luci-mod-system/luasrc/model/cbi/admin_system/leds.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/startup.lua b/modules/luci-mod-system/luasrc/model/cbi/admin_system/startup.lua
index 9e19ac50a2..9e19ac50a2 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/startup.lua
+++ b/modules/luci-mod-system/luasrc/model/cbi/admin_system/startup.lua
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/system.lua b/modules/luci-mod-system/luasrc/model/cbi/admin_system/system.lua
index c7fdfcddba..c7fdfcddba 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/system.lua
+++ b/modules/luci-mod-system/luasrc/model/cbi/admin_system/system.lua
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/applyreboot.htm b/modules/luci-mod-system/luasrc/view/admin_system/applyreboot.htm
index e235bd4679..e235bd4679 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_system/applyreboot.htm
+++ b/modules/luci-mod-system/luasrc/view/admin_system/applyreboot.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/backupfiles.htm b/modules/luci-mod-system/luasrc/view/admin_system/backupfiles.htm
index c1f3361ae2..c1f3361ae2 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_system/backupfiles.htm
+++ b/modules/luci-mod-system/luasrc/view/admin_system/backupfiles.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/clock_status.htm b/modules/luci-mod-system/luasrc/view/admin_system/clock_status.htm
index 37d8ae0e85..37d8ae0e85 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_system/clock_status.htm
+++ b/modules/luci-mod-system/luasrc/view/admin_system/clock_status.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/flashops.htm b/modules/luci-mod-system/luasrc/view/admin_system/flashops.htm
index 8204d38e34..8204d38e34 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_system/flashops.htm
+++ b/modules/luci-mod-system/luasrc/view/admin_system/flashops.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/ipkg.htm b/modules/luci-mod-system/luasrc/view/admin_system/ipkg.htm
index a7ff4e50bd..a7ff4e50bd 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_system/ipkg.htm
+++ b/modules/luci-mod-system/luasrc/view/admin_system/ipkg.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/packages.htm b/modules/luci-mod-system/luasrc/view/admin_system/packages.htm
index 280eabb8ea..280eabb8ea 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_system/packages.htm
+++ b/modules/luci-mod-system/luasrc/view/admin_system/packages.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/reboot.htm b/modules/luci-mod-system/luasrc/view/admin_system/reboot.htm
index d23664adac..d23664adac 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_system/reboot.htm
+++ b/modules/luci-mod-system/luasrc/view/admin_system/reboot.htm
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/upgrade.htm b/modules/luci-mod-system/luasrc/view/admin_system/upgrade.htm
index 597ddfd6bf..597ddfd6bf 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_system/upgrade.htm
+++ b/modules/luci-mod-system/luasrc/view/admin_system/upgrade.htm