X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=src%2Fffluci%2Fmodel%2Fcbi%2Fadmin_system%2Ffstab.lua;fp=src%2Fffluci%2Fmodel%2Fcbi%2Fadmin_system%2Ffstab.lua;h=cf9a483d782a6ac8b2777e0acc0e650848f717d5;hb=f341dfe91a766003a9333725e88823e2866fb3c8;hp=0000000000000000000000000000000000000000;hpb=9de2f0d5918a0fb2b6d73fb8bcf9db1c9f9cc745;p=project%2Fluci.git diff --git a/src/ffluci/model/cbi/admin_system/fstab.lua b/src/ffluci/model/cbi/admin_system/fstab.lua new file mode 100644 index 000000000..cf9a483d7 --- /dev/null +++ b/src/ffluci/model/cbi/admin_system/fstab.lua @@ -0,0 +1,21 @@ +m = Map("fstab", "Einhängepunkte") + +mount = m:section(TypedSection, "mount", "Einhängepunkte") +mount.anonymous = true +mount.addremove = true + +mount:option(Flag, "enabled", "aktivieren") +mount:option(Value, "device", "Gerät") +mount:option(Value, "target", "Einhängepunkt") +mount:option(Value, "fstype", "Dateisystem") +mount:option(Value, "options", "Optionen") + + +swap = m:section(TypedSection, "swap", "SWAP") +swap.anonymous = true +swap.addremove = true + +swap:option(Flag, "enabled", "aktivieren") +swap:option(Value, "device", "Gerät") + +return m