diff options
author | Daniel Dickinson <openwrt@daniel.thecshore.com> | 2015-12-02 00:19:47 -0500 |
---|---|---|
committer | Daniel Dickinson <openwrt@daniel.thecshore.com> | 2015-12-02 02:16:22 -0500 |
commit | 031cab418c4a7463da815158e2de31e47b588783 (patch) | |
tree | 8d2183b29ce917964a41e5a60537d6b352bebaa4 /modules/luci-mod-admin-full/luasrc/model/cbi | |
parent | b8c2d340f3bde4b3c1a5a7e3635ac0109d4ecddd (diff) |
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.
Diffstat (limited to 'modules/luci-mod-admin-full/luasrc/model/cbi')
-rw-r--r-- | modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 4edc811939..dee86d9274 100644 --- 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 |