summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller/admin/system.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-05-04 21:37:41 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-05-04 21:37:41 +0000
commit73112f9c44b0dc333b6ec1878009e0e69c8db500 (patch)
treeb1df17cb68da80cc5d88abac98800e32082f3f4c /modules/admin-full/luasrc/controller/admin/system.lua
parentec0fbaff3e6f475805ab62d4ed27d293dae97965 (diff)
modules/admin-full: fix system/admin from form() to cbi() type to add missing apply button (#234), integrate services/initscripts as system/startup
Diffstat (limited to 'modules/admin-full/luasrc/controller/admin/system.lua')
-rw-r--r--modules/admin-full/luasrc/controller/admin/system.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/system.lua b/modules/admin-full/luasrc/controller/admin/system.lua
index c79397b5e6..69ef6b7aa0 100644
--- a/modules/admin-full/luasrc/controller/admin/system.lua
+++ b/modules/admin-full/luasrc/controller/admin/system.lua
@@ -21,9 +21,10 @@ function index()
entry({"admin", "system"}, alias("admin", "system", "system"), i18n("System"), 30).index = true
entry({"admin", "system", "system"}, cbi("admin_system/system"), i18n("System"), 1)
- entry({"admin", "system", "admin"}, form("admin_system/admin"), i18n("Administration"), 2)
+ entry({"admin", "system", "admin"}, cbi("admin_system/admin"), i18n("Administration"), 2)
entry({"admin", "system", "packages"}, call("action_packages"), i18n("Software"), 10)
entry({"admin", "system", "packages", "ipkg"}, form("admin_system/ipkg"))
+ entry({"admin", "system", "startup"}, form("admin_system/startup"), i18n("Startup"), 45)
if nixio.fs.access("/etc/config/fstab") then
entry({"admin", "system", "fstab"}, cbi("admin_system/fstab"), i18n("Mount Points"), 50)