2 LuCI - Lua Configuration Interface
4 Copyright 2008 Steven Barth <steven@midlink.org>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
14 m = Map("fstab", translate("a_s_fstab"))
16 mount = m:section(TypedSection, "mount", translate("a_s_fstab_mountpoints"), translate("a_s_fstab_mountpoints1"))
17 mount.anonymous = true
18 mount.addremove = true
20 mount:option(Flag, "enabled", translate("enable"))
21 mount:option(Value, "device", translate("device"), translate("a_s_fstab_device1"))
22 mount:option(Value, "target", translate("a_s_fstab_mountpoint"))
23 mount:option(Value, "fstype", translate("filesystem"), translate("a_s_fstab_fs1"))
24 mount:option(Value, "options", translate("options"), translatef("manpage", "siehe '%s' manpage", "mount"))
27 swap = m:section(TypedSection, "swap", "SWAP", translate("a_s_fstab_swap1"))
31 swap:option(Flag, "enabled", translate("enable"))
32 swap:option(Value, "device", translate("device"), translate("a_s_fstab_device1"))