luci-mod-system: add support for additional filesystem
The filesystem option doesn't include additional filesystem included with /etc/filesystems, this is usefull if someone have ntfs-3g installed and wants to force use the external utility to mount partition instead of the default present in the kernel (if it's supported) Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
This commit is contained in:
parent
15fc6bf48d
commit
9f95fb3c08
1 changed files with 7 additions and 0 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue