projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
luci-mod-admin-full: Don't show jail bind mounts
[project/luci.git]
/
modules
/
luci-mod-admin-full
/
luasrc
/
model
/
cbi
/
admin_system
/
fstab.lua
diff --git
a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab.lua
b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab.lua
index
4edc811
..
dee86d9
100644
(file)
--- a/
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab.lua
+++ b/
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab.lua
@@
-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