modules/admin-full: rework fstab pages, include extroot options
[project/luci.git] / modules / admin-full / luasrc / controller / admin / system.lua
index 67dbc3f..95961f4 100644 (file)
@@ -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)
 
        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
        end
 
        if nixio.fs.access("/sys/class/leds") then