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:
parent
b8c2d340f3
commit
031cab418c
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue