luci-mod-admin-full: Don't show jail bind mounts

The user is unlikely to care about the plethora of jail bind mounts
when using jails, so don't display them in this app.
This commit is contained in:
Daniel Dickinson 2015-12-02 00:19:47 -05:00
parent b8c2d340f3
commit 031cab418c

View file

@ -39,6 +39,7 @@ m = Map("fstab", translate("Mount Points"))
local mounts = luci.sys.mounts()
local non_system_mounts = {}
for rawmount, val in pairs(mounts) do
if (string.find(val.mountpoint, "/tmp/.jail") == nil) then
repeat
val.umount = false
if (val.mountpoint == "/") then