1 -- ToDo: Translate, Add descriptions and help texts
2 m = Map("network", "Schnittstellen")
4 s = m:section(TypedSection, "interface")
7 s:depends("proto", "static")
8 s:depends("proto", "dhcp")
10 p = s:option(ListValue, "proto", "Protokoll")
11 p:value("static", "statisch")
12 p:value("dhcp", "DHCP")
15 br = s:option(Flag, "type", "Netzwerkbrücke", "überbrückt angegebene Schnittstelle(n)")
19 s:option(Value, "ifname", "Schnittstelle")
21 s:option(Value, "ipaddr", "IP-Adresse")
23 s:option(Value, "netmask", "Netzmaske"):depends("proto", "static")
25 gw = s:option(Value, "gateway", "Gateway")
26 gw:depends("proto", "static")
29 dns = s:option(Value, "dns", "DNS-Server")
30 dns:depends("proto", "static")
33 mtu = s:option(Value, "mtu", "MTU")
37 mac = s:option(Value, "macaddr", "MAC-Adresse")