summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller/admin/system.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-11-27 04:55:38 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-11-27 04:55:38 +0000
commit2e0fbbadc546e37baf13416e66aa5173ca604f5c (patch)
tree1cb5a3442bf42bb7f9fae2339d1878b93e396bc0 /modules/admin-full/luasrc/controller/admin/system.lua
parent21c441c5d1be85f0939484bb26f3f70e3ea453b7 (diff)
modules/admin-full: rework fstab pages, include extroot options
Diffstat (limited to 'modules/admin-full/luasrc/controller/admin/system.lua')
-rw-r--r--modules/admin-full/luasrc/controller/admin/system.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/system.lua b/modules/admin-full/luasrc/controller/admin/system.lua
index 67dbc3fc73..95961f49db 100644
--- a/modules/admin-full/luasrc/controller/admin/system.lua
+++ b/modules/admin-full/luasrc/controller/admin/system.lua
@@ -29,6 +29,8 @@ function index()
if nixio.fs.access("/etc/config/fstab") then
entry({"admin", "system", "fstab"}, cbi("admin_system/fstab"), i18n("Mount Points"), 50)
+ entry({"admin", "system", "fstab", "mount"}, cbi("admin_system/fstab/mount"), nil).leaf = true
+ entry({"admin", "system", "fstab", "swap"}, cbi("admin_system/fstab/swap"), nil).leaf = true
end
if nixio.fs.access("/sys/class/leds") then