diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab/mount.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab/mount.lua b/modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab/mount.lua index a85872afad..f21a2775e1 100644 --- a/modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab/mount.lua +++ b/modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab/mount.lua @@ -136,6 +136,13 @@ for fs in io.lines("/proc/filesystems") do end end +local ok, lines = pcall(io.lines, "/etc/filesystem") +if ok then + local fs + for fs in lines do + o:value(fs) + end +end o = mount:taboption("advanced", Value, "options", translate("Mount options"), translate("See \"mount\" manpage for details")) |