summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/model/cbi/admin_system
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-04-07 21:01:39 +0000
committerSteven Barth <steven@midlink.org>2008-04-07 21:01:39 +0000
commitf341dfe91a766003a9333725e88823e2866fb3c8 (patch)
tree3596ea31d97ff8c730c5805f2f4d16641b6456cd /src/ffluci/model/cbi/admin_system
parent9de2f0d5918a0fb2b6d73fb8bcf9db1c9f9cc745 (diff)
* Added configuration pages for Dropbear, HTTPd, Mount Points
* Reorganized menu structure * Prepare firmware upgrade mechanism
Diffstat (limited to 'src/ffluci/model/cbi/admin_system')
-rw-r--r--src/ffluci/model/cbi/admin_system/fstab.lua21
1 files changed, 21 insertions, 0 deletions
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 0000000000..cf9a483d78
--- /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