summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/admin-core/root/lib/uci/schema/default/dhcp240
-rw-r--r--modules/admin-core/root/lib/uci/schema/default/dropbear24
-rw-r--r--modules/admin-core/root/lib/uci/schema/default/fstab54
-rw-r--r--modules/admin-core/root/lib/uci/schema/default/httpd37
-rw-r--r--modules/admin-core/root/lib/uci/schema/default/luci_hosts21
-rw-r--r--modules/admin-core/root/lib/uci/schema/default/network502
-rw-r--r--modules/admin-core/root/lib/uci/schema/default/system111
-rw-r--r--modules/admin-core/root/lib/uci/schema/default/wireless570
8 files changed, 0 insertions, 1559 deletions
diff --git a/modules/admin-core/root/lib/uci/schema/default/dhcp b/modules/admin-core/root/lib/uci/schema/default/dhcp
deleted file mode 100644
index 86a5a474c9..0000000000
--- a/modules/admin-core/root/lib/uci/schema/default/dhcp
+++ /dev/null
@@ -1,240 +0,0 @@
-package dhcp
-
-config package
- option title 'Dnsmasq DHCPd configuration'
-
-config section
- option name 'dnsmasq'
- option package 'dhcp'
- option title 'General Settings'
- option unique true
- option required true
- option dynamic true
-
-config variable
- option name 'domainneeded'
- option section 'dhcp.dnsmasq'
- option title 'Domain required'
- option description "Don't forward DNS-Requests without DNS-Name"
- option datatype boolean
-
-config variable
- option name 'authoritative'
- option section 'dhcp.dnsmasq'
- option title 'Authoritative'
- option description 'This is the only DHCP in the local network'
- option datatype boolean
-
-config variable
- option name 'boguspriv'
- option section 'dhcp.dnsmasq'
- option title 'Filter private'
- option description "Don't forward reverse lookups for local networks"
- option datatype boolean
-
-config variable
- option name 'filterwin2k'
- option section 'dhcp.dnsmasq'
- option title 'Filter useless'
- option description 'Filter useless DNS-queries of Windows-systems'
- option datatype boolean
-
-config variable
- option name 'localise_queries'
- option section 'dhcp.dnsmasq'
- option title 'Localise queries'
- option description 'Localises the hostname depending on its subnet'
- option datatype boolean
-
-config variable
- option name 'local'
- option section 'dhcp.dnsmasq'
- option title 'Local Server'
-
-config variable
- option name 'domain'
- option section 'dhcp.dnsmasq'
- option title 'Local Domain'
-
-config variable
- option name 'expandhosts'
- option section 'dhcp.dnsmasq'
- option title 'Expand Hosts'
- option description 'adds domain names to hostentries in the resolv file'
- option datatype boolean
-
-config variable
- option name 'nonegcache'
- option section 'dhcp.dnsmasq'
- option title "don't cache unknown"
- option description 'prevents caching of negative DNS-replies'
- option datatype boolean
-
-config variable
- option name 'readethers'
- option section 'dhcp.dnsmasq'
- option title 'Use /etc/ethers'
- option description 'Read /etc/ethers to configure the DHCP-Server'
- option datatype boolean
-
-config variable
- option name 'leasefile'
- option section 'dhcp.dnsmasq'
- option title 'Leasefile'
- option description 'file where given DHCP-leases will be stored'
-
-config variable
- option name 'resolvfile'
- option section 'dhcp.dnsmasq'
- option title 'Resolvfile'
- option description 'local DNS file'
-
-config variable
- option name 'nohosts'
- option section 'dhcp.dnsmasq'
- option title 'Ignore /etc/hosts '
- option datatype boolean
-
-config variable
- option name 'strictorder'
- option section 'dhcp.dnsmasq'
- option title 'Strict order'
- option description 'DNS-Server will be queried in the order of the resolvfile'
- option datatype boolean
-
-config variable
- option name 'logqueries'
- option section 'dhcp.dnsmasq'
- option title 'Log queries'
- option datatype boolean
-
-config variable
- option name 'noresolv'
- option section 'dhcp.dnsmasq'
- option title 'Ignore resolve file'
- option datatype boolean
-
-config variable
- option name 'dnsforwardmax'
- option section 'dhcp.dnsmasq'
- option title 'concurrent queries'
- option datatype uint
-
-config variable
- option name 'port'
- option section 'dhcp.dnsmasq'
- option title 'DNS-Port'
- option datatype port
-
-config variable
- option name 'ednspacket_max'
- option section 'dhcp.dnsmasq'
- option title 'ednspacket_max'
- option datatype uint
-
-config variable
- option name 'dhcpleasemax'
- option section 'dhcp.dnsmasq'
- option title 'max. DHCP -Leases'
- option datatype uint
-
-config variable
- option name 'addnhosts'
- option section 'dhcp.dnsmasq'
- option title 'additional hostfile'
- option datatype file
-
-config variable
- option name 'queryport'
- option section 'dhcp.dnsmasq'
- option title 'query port'
- option datatype port
-
-config variable
- option name 'enable_tftp'
- option section 'dhcp.dnsmasq'
- option title 'Enable builtin TFTP-Server'
- option datatype boolean
-
-config variable
- option name 'tftp_root'
- option section 'dhcp.dnsmasq'
- option title 'TFTP-Server root directory'
- option datatype directory
-
-config variable
- option name 'dhcp_boot'
- option section 'dhcp.dnsmasq'
- option title 'DHCP Boot image'
-
-
-config section
- option name 'dhcp'
- option package 'dhcp'
- option title 'DHCP interface configuration'
- option dynamic true
-
-config variable
- option name 'interface'
- option section 'dhcp.dhcp'
- option title 'Interface'
- option required true
- option type reference
- list valueof network.interface
- list valueof network.alias
-
-config variable
- option name 'start'
- option section 'dhcp.dhcp'
- option title 'Start'
- option description 'first address (last octet)'
- option datatype uint
-
-config variable
- option name 'limit'
- option section 'dhcp.dhcp'
- option title 'Limit'
- option description 'number of leased addresses -1'
- option datatype uint
-
-config variable
- option name 'leasetime'
- option section 'dhcp.dhcp'
- option title 'Leasetime'
-
-config variable
- option name 'dynamicdhcp'
- option section 'dhcp.dhcp'
- option title 'Dynamic DHCP '
- option datatype boolean
-
-config variable
- option name 'name'
- option section 'dhcp.dhcp'
- option title 'Name'
-
-config variable
- option name 'ignore'
- option section 'dhcp.dhcp'
- option title 'Ignore interface'
- option description 'disable DHCP for this interface'
- option datatype boolean
-
-config variable
- option name 'netmask'
- option section 'dhcp.dhcp'
- option title 'IPv4-Netmask'
- option datatype ip4addr
-
-config variable
- option name 'force'
- option section 'dhcp.dhcp'
- option title 'Force'
- option datatype boolean
-
-config variable
- option name 'dhcp_option'
- option section 'dhcp.dhcp'
- option title 'DHCP-Options'
- option description 'See "dnsmasq --help dhcp" for a list of available options.'
- option type lazylist
diff --git a/modules/admin-core/root/lib/uci/schema/default/dropbear b/modules/admin-core/root/lib/uci/schema/default/dropbear
deleted file mode 100644
index ba490a705e..0000000000
--- a/modules/admin-core/root/lib/uci/schema/default/dropbear
+++ /dev/null
@@ -1,24 +0,0 @@
-package dropbear
-
-config package
- option title 'Dropbear SSHd configuration'
-
-config section
- option name 'dropbear'
- option title 'General SSH daemon settings'
- option package 'dropbear'
- option required true
- option unique true
-
-config variable
- option name 'PasswordAuth'
- option title 'Permit password authentication'
- option section 'dropbear.dropbear'
- option datatype 'boolean'
-
-config variable
- option name 'Port'
- option title 'Listening port'
- option section 'dropbear.dropbear'
- option datatype 'integer'
- option required true
diff --git a/modules/admin-core/root/lib/uci/schema/default/fstab b/modules/admin-core/root/lib/uci/schema/default/fstab
deleted file mode 100644
index 58dff587b8..0000000000
--- a/modules/admin-core/root/lib/uci/schema/default/fstab
+++ /dev/null
@@ -1,54 +0,0 @@
-package fstab
-
-config package
- option title 'Filesystem configuration'
-
-config section
- option name 'mount'
- option title 'Filesystem entry'
- option package 'fstab'
-
-config variable
- option name 'device'
- option title 'Device node'
- option section 'fstab.mount'
-
-config variable
- option name 'enabled'
- option title 'Enable this mount point'
- option section 'fstab.mount'
- option datatype 'boolean'
- option required 'true'
-
-config variable
- option name 'fstype'
- option title 'Filesystem type'
- option section 'fstab.mount'
-
-config variable
- option name 'options'
- option title 'Mount options'
- option section 'fstab.mount'
-
-config variable
- option name 'target'
- option title 'Mount point'
- option section 'fstab.mount'
- option datatype 'directory'
-
-
-config section
- option name 'swap'
- option title 'Swap entry'
- option package 'fstab'
-
-config variable
- option name 'device'
- option title 'Swap file or Partition'
- option section 'fstab.swap'
-
-config variable
- option name 'enabled'
- option title 'Enable this swap'
- option section 'fstab.swap'
- option datatype 'boolean'
diff --git a/modules/admin-core/root/lib/uci/schema/default/httpd b/modules/admin-core/root/lib/uci/schema/default/httpd
deleted file mode 100644
index 8dcf0959b0..0000000000
--- a/modules/admin-core/root/lib/uci/schema/default/httpd
+++ /dev/null
@@ -1,37 +0,0 @@
-package httpd
-
-config package
- option title 'Busybox HTTPd configuration'
-
-config section
- option name 'httpd'
- option title 'General httpd settings'
- option package 'httpd'
- option required true
-
-config variable
- option name 'home'
- option title 'Document root'
- option section 'httpd.httpd'
- option datatype 'directory'
- option required true
-
-config variable
- option name 'port'
- option title 'Listening port'
- option section 'httpd.httpd'
- option datatype 'integer'
- option required true
-
-config variable
- option name 'c_file'
- option title 'Configuration file'
- option section 'httpd.httpd'
- option datatype 'file'
-
-config variable
- option name 'realm'
- option title 'Authentication Realm'
- option description 'Realm shown on login prompt'
- option section 'httpd.httpd'
-
diff --git a/modules/admin-core/root/lib/uci/schema/default/luci_hosts b/modules/admin-core/root/lib/uci/schema/default/luci_hosts
deleted file mode 100644
index e2597f4769..0000000000
--- a/modules/admin-core/root/lib/uci/schema/default/luci_hosts
+++ /dev/null
@@ -1,21 +0,0 @@
-package luci_hosts
-
-config section
- option name 'host'
- option title 'Host entry definition'
- option package 'luci_hosts'
-
-config variable
- option name 'hostname'
- option title 'Hostname'
- option section 'luci_hosts.host'
- option datatype 'hostname'
- option required true
-
-config variable
- option name 'ipaddr'
- option title 'IP address'
- option section 'luci_hosts.host'
- option datatype 'ipaddr'
- option required true
-
diff --git a/modules/admin-core/root/lib/uci/schema/default/network b/modules/admin-core/root/lib/uci/schema/default/network
deleted file mode 100644
index a43b5b8adf..0000000000
--- a/modules/admin-core/root/lib/uci/schema/default/network
+++ /dev/null
@@ -1,502 +0,0 @@
-package network
-
-config package
- option title 'Network configuration'
-
-config section
- option name 'interface'
- option title 'Network interface'
- option package 'network'
- list depends 'proto=static, ipaddr, netmask'
- list depends 'proto=static, ip6addr'
- list depends 'proto=pppoe, username, password'
- list depends 'proto=pppoa, username, password, encaps, vpi, vci'
- list depends 'proto=ppp, device'
- list depends 'proto=3g, device'
- list depends 'proto=pptp, username, password, server'
- list depends 'proto=dhcp'
- list depends 'proto=none'
- option named 'true'
- option required 'true'
-
-config variable
- option name 'ifname'
- option title 'Physical interface'
- option section 'network.interface'
-
-config variable
- option name 'macaddr'
- option title 'Interface MAC address'
- option section 'network.interface'
- option datatype 'macaddr'
-
-config variable
- option name 'mtu'
- option title 'MTU'
- option section 'network.interface'
- option datatype 'uint'
-
-config variable
- option name 'ipaddr'
- option title 'IPv4 host address'
- option section 'network.interface'
- option datatype 'ip4addr'
-
-config variable
- option name 'netmask'
- option title 'IPv4 network mask'
- option section 'network.interface'
- option datatype 'ip4addr'
-
-config variable
- option name 'gateway'
- option title 'IPv4 gateway'
- option section 'network.interface'
- option datatype 'ip4addr'
-
-config variable
- option name 'bcast'
- option title 'IPv4 broadcast address'
- option section 'network.interface'
- option datatype 'ip4addr'
-
-config variable
- option name 'ip6addr'
- option title 'IPv6 address (CIDR)'
- option section 'network.interface'
- option datatype 'ip6addr'
-
-config variable
- option name 'ip6gw'
- option title 'IPv6 gateway'
- option section 'network.interface'
- option datatype 'ip6addr'
-
-config variable
- option name 'dns'
- option title 'DNS server (IPv4 or IPv6)'
- option section 'network.interface'
- option datatype 'ipaddr'
- option multival 'true'
-
-config variable
- option name 'keepalive'
- option title 'keep-alive'
- option description 'Number of connection failures before reconnect'
- option section 'network.interface'
- option datatype 'string'
- list depends 'proto=pppoe'
- list depends 'proto=pptp'
- list depends 'proto=ppp'
- list depends 'proto=3g'
- list depends 'proto=pppoa'
-
-config variable
- option name 'demand'
- option title 'Dial on-demand'
- option description 'Number of seconds to wait before closing the connection due to inactivity'
- option section 'network.interface'
- option datatype 'uint'
- list depends 'proto=pppoe'
- list depends 'proto=pppoa'
- list depends 'proto=pptp'
- list depends 'proto=ppp'
- list depends 'proto=3g'
-
-config variable
- option name 'username'
- option title 'Username'
- option section 'network.interface'
- option datatype 'string'
- list depends 'proto=pppoa'
- list depends 'proto=pppoe'
- list depends 'proto=pptp'
- list depends 'proto=ppp'
- list depends 'proto=3g'
-
-config variable
- option name 'password'
- option title 'Password'
- option section 'network.interface'
- option datatype 'string'
- list depends 'proto=pppoe'
- list depends 'proto=pppoa'
- list depends 'proto=pptp'
- list depends 'proto=ppp'
- list depends 'proto=3g'
-
-config variable
- option name 'encaps'
- option title 'PPPoA encapsulation mode'
- option section 'network.interface'
- option type 'enum'
- list depends 'proto=pppoa'
-
-config enum
- option variable 'network.interface.encaps'
- option value 'vc'
- option title 'VC'
-
-config enum
- option variable 'network.interface.encaps'
- option value 'llc'
- option title 'LLC'
-
-config variable
- option name 'vpi'
- option title 'PPPoA VPI'
- option section 'network.interface'
- option datatype 'uint'
- list depends 'proto=pppoa'
-
-config variable
- option name 'vci'
- option title 'PPPoA VCI'
- option section 'network.interface'
- option datatype 'uint'
- list depends 'proto=pppoa'
-
-config variable
- option name 'server'
- option title 'PPTP server'
- option section 'network.interface'
- option datatype 'host'
- list depends 'proto=pptp'
-
-config variable
- option name 'device'
- option title 'Modem device'
- option section 'network.interface'
- option datatype 'device'
- list depends 'proto=ppp'
- list depends 'proto=3g'
-
-config variable
- option name 'defaultroute'
- option title 'Replace default route'
- option section 'network.interface'
- option datatype 'boolean'
- list depends 'proto=ppp'
- list depends 'proto=pppoa'
- list depends 'proto=pppoe'
- list depends 'proto=pptp'
- list depends 'proto=3g'
-
-config variable
- option name 'peerdns'
- option title 'Use peer DNS'
- option section 'network.interface'
- option datatype 'boolean'
- list depends 'proto=ppp'
- list depends 'proto=pppoe'
- list depends 'proto=pppoa'
- list depends 'proto=pptp'
- list depends 'proto=3g'
-
-config variable
- option name 'ipv6'
- option title 'Enable IPv6 on PPP link'
- option section 'network.interface'
- option datatype 'boolean'
- list depends 'proto=ppp'
- list depends 'proto=pppoe'
- list depends 'proto=pppoa'
- list depends 'proto=pptp'
- list depends 'proto=3g'
-
-config variable
- option name 'connect'
- option title 'PPP connect script'
- option section 'network.interface'
- option datatype 'file'
- list depends 'proto=ppp'
- list depends 'proto=pppoe'
- list depends 'proto=pppoa'
- list depends 'proto=pptp'
- list depends 'proto=3g'
-
-config variable
- option name 'disconnect'
- option title 'PPP disconnect script'
- option section 'network.interface'
- option datatype 'file'
- list depends 'proto=ppp'
- list depends 'proto=pppoe'
- list depends 'proto=pppoa'
- list depends 'proto=pptp'
- list depends 'proto=3g'
-
-config variable
- option name 'pppd_options'
- option title 'Additional PPP daemon options'
- option section 'network.interface'
- option datatype 'string'
- list depends 'proto=ppp'
- list depends 'proto=pppoe'
- list depends 'proto=pppoa'
- list depends 'proto=pptp'
- list depends 'proto=3g'
-
-config variable
- option name 'maxwait'
- option title 'Setup wait time'
- option description 'Number of seconds to wait for the device to become ready'
- option section 'network.interface'
- option datatype 'uint'
- list depends 'proto=3g'
-
-config variable
- option name 'apn'
- option title 'Access point (APN)'
- option section 'network.interface'
- option datatype 'string'
- list depends 'proto=3g'
-
-config variable
- option name 'pincode'
- option title 'PIN code'
- option section 'network.interface'
- option datatype 'uint'
- list depends 'proto=3g'
-
-config variable
- option name 'service'
- option title 'Service type'
- option section 'network.interface'
- option type 'enum'
- list depends 'proto=3g'
-
-config enum
- option variable 'network.interface.service'
- option value 'umts'
- option title 'UMTS/GPRS'
-
-config enum
- option variable 'network.interface.service'
- option value 'cdma'
- option title 'CDMA'
-
-config enum
- option variable 'network.interface.service'
- option value 'evdo'
- option title 'EV-DO'
-
-config variable
- option name 'proto'
- option title 'Protocol'
- option section 'network.interface'
- option type 'enum'
- option required 'true'
-
-config enum
- option variable 'network.interface.proto'
- option value 'none'
- option title 'Disabled'
-
-config enum
- option variable 'network.interface.proto'
- option value 'dhcp'
- option title 'Retrieve IP address via DHCP'
- option default 'true'
-
-config enum
- option variable 'network.interface.proto'
- option value 'pptp'
- option title 'Interface is a PPTP tunnel endpoint'
-
-config enum
- option variable 'network.interface.proto'
- option value 'static'
- option title 'Interface has static network configuration'
-
-config enum
- option variable 'network.interface.proto'
- option value 'pppoe'
- option title 'Interface is a PPPoE connection'
-
-config enum
- option variable 'network.interface.proto'
- option value 'pppoa'
- option title 'Interface is a PPPoA connection'
-
-config enum
- option variable 'network.interface.proto'
- option value 'ppp'
- option title 'Interface is a PPP connection'
-
-config enum
- option variable 'network.interface.proto'
- option value '3g'
- option title '3G UMTS/GPRS connection'
-
-config variable
- option name 'type'
- option title 'Option type'
- option section 'network.interface'
- option type 'enum'
-
-config enum
- option variable 'network.interface.type'
- option value 'bridge'
- option title 'This is a bridge interface'
-
-config variable
- option name 'stp'
- option title 'Enable STP'
- option section 'network.interface'
- option datatype 'boolean'
- option depends 'type=bridge'
-
-
-
-config section
- option name 'alias'
- option title 'Alias interface definition'
- option package 'network'
- list depends 'proto=static, ipaddr, netmask'
- list depends 'proto=static, ip6addr'
- option named 'true'
-
-config variable
- option name 'interface'
- option title 'Parent interface'
- option section 'network.alias'
- option valueof 'network.interface'
- option required 'true'
-
-config variable
- option name 'ipaddr'
- option title 'IPv4 host address'
- option section 'network.alias'
- option datatype 'ip4addr'
-
-config variable
- option name 'netmask'
- option title 'IPv4 network mask'
- option section 'network.alias'
- option datatype 'ip4addr'
-
-config variable
- option name 'gateway'
- option title 'IPv4 gateway'
- option section 'network.alias'
- option datatype 'ip4addr'
-
-config variable
- option name 'bcast'
- option title 'IPv4 broadcast address'
- option section 'network.alias'
- option datatype 'ip4addr'
-
-config variable
- option name 'ip6addr'
- option title 'IPv6 address (CIDR)'
- option section 'network.alias'
- option datatype 'ip6addr'
-
-config variable
- option name 'ip6gw'
- option title 'IPv6 gateway'
- option section 'network.alias'
- option datatype 'ip6addr'
-
-config variable
- option name 'dns'
- option title 'DNS server (IPv4 or IPv6)'
- option section 'network.alias'
- option datatype 'ipaddr'
-
-config variable
- option name 'proto'
- option title 'Protocol'
- option section 'network.alias'
- option type 'enum'
- option required 'true'
-
-config enum
- option variable 'network.alias.proto'
- option value 'static'
- option title 'Interface has static network configuration'
-
-
-
-config section
- option name 'route'
- option title 'Static route definition'
- option package 'network'
-
-config variable
- option name 'interface'
- option title 'Interface'
- option section 'network.route'
- option valueof 'network.interface'
- option required 'true'
-
-config variable
- option name 'target'
- option title 'Target IPv4 host or network'
- option section 'network.route'
- option datatype 'ip4addr'
- option required 'true'
-
-config variable
- option name 'netmask'
- option title 'Target IPv4 netmask'
- option section 'network.route'
- option datatype 'ip4addr'
-
-config variable
- option name 'gateway'
- option title 'IPv4 gateway'
- option section 'network.route'
- option datatype 'ip4addr'
-
-config variable
- option name 'metric'
- option title 'Metric'
- option section 'network.route6'
- option datatype 'uint'
-
-
-
-config section
- option name 'route6'
- option title 'Static IPv6 route definition'
- option package 'network'
-
-config variable
- option name 'interface'
- option title 'Interface'
- option section 'network.route6'
- option valueof 'network.interface'
- option required 'true'
-
-config variable
- option name 'target'
- option title 'Target IPv6 host or network (CIDR)'
- option section 'network.route6'
- option datatype 'ip6addr'
- option required 'true'
-
-config variable
- option name 'gateway'
- option title 'IPv6 gateway'
- option section 'network.route6'
- option datatype 'ip6addr'
- option required 'false'
-
-config variable
- option name 'metric'
- option title 'Metric'
- option section 'network.route6'
- option datatype 'uint'
-
-
-
-config section
- option name 'switch'
- option title 'Section switch'
- option package 'network'
- option named 'true'
- option dynamic 'true'
- option required 'true'
diff --git a/modules/admin-core/root/lib/uci/schema/default/system b/modules/admin-core/root/lib/uci/schema/default/system
deleted file mode 100644
index 13339ee06f..0000000000
--- a/modules/admin-core/root/lib/uci/schema/default/system
+++ /dev/null
@@ -1,111 +0,0 @@
-package system
-
-config package
- option title 'System configuration'
-
-config section
- option name 'system'
- option title 'General system configuration'
- option package 'system'
- option unique true
- option required true
-
-config variable
- option name 'hostname'
- option title 'Local hostname'
- option section 'system.system'
- option datatype 'hostname'
- option required true
-
-config variable
- option name 'zonename'
- option title 'Option zonename'
- option section 'system.system'
-
-config variable
- option name 'timezone'
- option title 'Option timezone'
- option section 'system.system'
- option required true
-
-config variable
- option name 'log_size'
- option section 'system.system'
- option title 'System log buffer size (kiB)'
- option datatype uint
-
-config variable
- option name 'log_ip'
- option section 'system.system'
- option title 'External system log server'
- option datatype ipaddr
-
-config variable
- option name 'conloglevel'
- option section 'system.system'
- option title 'Log output level'
- option description 'Level of log messages on the console'
- option datatype integer
-
-config variable
- option name 'cronloglevel'
- option section 'system.system'
- option title 'Crond log level'
- option description 'Level of log messages for cron daemon'
- option datatype integer
-
-
-config section
- option name 'led'
- option package 'system'
- option title 'LED Configuration'
-
-config variable
- option name 'name'
- option section 'system.led'
- option title 'LED Name'
- option required true
-
-config variable
- option name 'sysfs'
- option section 'system.led'
- option title 'LED Device'
- option required true
-
-config variable
- option name 'default'
- option section 'system.led'
- option title 'Default state'
- option datatype boolean
-
-config variable
- option name 'trigger'
- option section 'system.led'
- option title 'Trigger'
- option required true
-
-config variable
- option name 'delayon'
- option section 'system.led'
- option title 'On-State Delay'
- option description 'Time (in ms) the LED is on'
- list depends 'trigger=timer'
-
-config variable
- option name 'delayoff'
- option section 'system.led'
- option title 'Off-State Delay'
- option description 'Time (in ms) the LED is off'
- list depends 'trigger=timer'
-
-config variable
- option name 'dev'
- option section 'system.led'
- option title 'Device'
- list depends 'trigger=netdev'
-
-config variable
- option name 'mode'
- option section 'system.led'
- option title 'Trigger Mode'
- list depends 'trigger=netdev'
diff --git a/modules/admin-core/root/lib/uci/schema/default/wireless b/modules/admin-core/root/lib/uci/schema/default/wireless
deleted file mode 100644
index 719f0d17a5..0000000000
--- a/modules/admin-core/root/lib/uci/schema/default/wireless
+++ /dev/null
@@ -1,570 +0,0 @@
-package wireless
-
-config package
- option title 'Wireless LAN'
-
-config section
- option name 'wifi-device'
- option package 'wireless'
- option title 'Devices'
- option named true
-
-config variable
- option name 'disabled'
- option section 'wireless.wifi-device'
- option title 'disabled'
- option datatype boolean
-
-config variable
- option name 'type'
- option section 'wireless.wifi-device'
- option title 'Type'
- option required true
-
-config variable
- option name 'channel'
- option section 'wireless.wifi-device'
- option title 'Channel'
-
-config variable
- option name 'mode'
- option section 'wireless.wifi-device'
- option title 'Mode (atheros)'
- option type enum
- list depends type=atheros
-
-config enum
- option variable 'wireless.wifi-device.mode'
- option value ''
- option title 'auto'
-
-config enum
- option variable 'wireless.wifi-device.mode'
- option value '11b'
- option title '802.11b'
-
-config enum
- option variable 'wireless.wifi-device.mode'
- option value '11g'
- option title '802.11g'
-
-config enum
- option variable 'wireless.wifi-device.mode'
- option value '11a'
- option title '802.11a'
-
-config enum
- option variable 'wireless.wifi-device.mode'
- option value '11bg'
- option title '802.11b+g'
-
-config enum
- option variable 'wireless.wifi-device.mode'
- option value '11ast'
- option title '802.11a + Turbo'
-
-config enum
- option variable 'wireless.wifi-device.mode'
- option value '11gst'
- option title '802.11g + Turbo'
-
-config enum
- option variable 'wireless.wifi-device.mode'
- option value 'fh'
- option title 'Frequency Hopping'
-
-config variable
- option name 'diversity'
- option section 'wireless.wifi-device'
- option title 'Diversity (atheros)'
- option datatype boolean
- list depends type=atheros
- list depends type=prism2
-
-config variable
- option name 'txpower'
- option section 'wireless.wifi-device'
- option title 'Transmit Power'
- option description 'dbm'
- option datatype uint
-
-config variable
- option name 'txantenna'
- option section 'wireless.wifi-device'
- option title 'Transmitter Antenna'
- option datatype uint
- list depends type=atheros
- list depends type=broadcom
- list depends type=prism2
-
-config variable
- option name 'rxantenna'
- option section 'wireless.wifi-device'
- option title 'Receiver Antenna'
- option datatype uint
- list depends type=atheros
- list depends type=broadcom
- list depends type=prism2
-
-config variable
- option name 'distance'
- option section 'wireless.wifi-device'
- option title 'Distance Optimization (atheros, broadcom)'
- option description 'Distance to farthest network member in meters.'
- option datatype uint
- list depends type=atheros
- list depends type=broadcom
-
-config variable
- option name 'macfilter'
- option section 'wireless.wifi-device'
- option title 'MAC-Address Filter (broadcom)'
- option type enum
- list depends type=broadcom
-
-config enum
- option variable 'wireless.wifi-device.macfilter'
- option value 'deny'
- option title 'Allow listed only'
-
-config enum
- option variable 'wireless.wifi-device.macfilter'
- option value 'allow'
- option title 'Allow all except listed'
-
-config variable
- option name 'maclist'
- option section 'wireless.wifi-device'
- option title 'MAC-List (broadcom)'
- list depends 'type=broadcom, macfilter=allow'
- list depends 'type=broadcom, macfilter=deny'
- option type lazylist
- option datatype macaddr
-
-config variable
- option name 'frameburst'
- option section 'wireless.wifi-device'
- option title 'Frame Bursting (broadcom)'
- option datatype boolean
- list depends 'type=broadcom'
-
-config variable
- option name 'regdomain'
- option section 'wireless.wifi-device'
- option title 'Regulatory Domain'
- list depends 'type=atheros'
-
-config variable
- option name 'country'
- option section 'wireless.wifi-device'
- option title 'Country Code'
- list depends 'type=broadcom'
- list depends 'type=atheros'
-
-config variable
- option name 'outdoor'
- option section 'wireless.wifi-device'
- option title 'Outdoor Channels'
- option datatype boolean
- list depends 'type=atheros'
-
-config variable
- option name 'maxassoc'
- option section 'wireless.wifi-device'
- option title 'Connection Limit (broadcom)'
- option datatype uint
- list depends 'type=broadcom'
-
-
-config section
- option name 'wifi-iface'
- option package 'wireless'
- option title 'Interfaces'
-
-config variable
- option name 'device'
- option section 'wireless.wifi-iface'
- option title 'Wifi Device'
- option valueof 'wireless.wifi-device'
-
-config variable
- option name 'ssid'
- option section 'wireless.wifi-iface'
- option title 'ESSID'
-
-config variable
- option name 'network'
- option section 'wireless.wifi-iface'
- option title 'Network'
- option description 'Add the Wifi network to physical network'
- option type reference
- list valueof network.interface
-
-config variable
- option name 'mode'
- option section 'wireless.wifi-iface'
- option title 'Mode'
- option required true
- option type enum
-
-config enum
- option variable 'wireless.wifi-iface.mode'
- option value 'ap'
- option title 'Access Point'
-
-config enum
- option variable 'wireless.wifi-iface.mode'
- option value 'adhoc'
- option title 'Ad-Hoc'
-
-config enum
- option variable 'wireless.wifi-iface.mode'
- option value 'sta'
- option title 'Client'
-
-config enum
- option variable 'wireless.wifi-iface.mode'
- option value 'monitor'
- option title 'Monitor'
-
-config enum
- option variable 'wireless.wifi-iface.mode'
- option value 'ahdemo'
- option title 'Pseudo Ad-Hoc (ahdemo)'
-
-config enum
- option variable 'wireless.wifi-iface.mode'
- option value 'wds'
- option title 'WDS'
-
-config enum
- option variable 'wireless.wifi-iface.mode'
- option value 'mesh'
- option title 'Mesh (802.11s)'
-
-config variable
- option name 'bssid'
- option section 'wireless.wifi-iface'
- option title 'BSSID'
-
-config variable
- option name 'txpower'
- option section 'wireless.wifi-iface'
- option title 'Transmit Power'
- option description 'dbm'
- option datatype uint
-
-config variable
- option name 'frag'
- option section 'wireless.wifi-iface'
- option title 'Fragmentation Threshold (mac80211, atheros, prism2)'
- option datatype uint
-
-config variable
- option name 'rts'
- option section 'wireless.wifi-iface'
- option title 'RTS/CTS Threshold (mac80211, atheros, prism2)'
- option datatype uint
-
-config variable
- option name 'wds'
- option section 'wireless.wifi-iface'
- option title 'WDS (atheros)'
- option datatype boolean
- list depends 'mode=ap'
- list depends 'mode=sta'
-
-config variable
- option name 'wdssep'
- option section 'wireless.wifi-iface'
- option title 'Separate WDS (atheros)'
- option datatype boolean
- list depends 'wds=1,mode=ap'
-
-config variable
- option name 'doth'
- option section 'wireless.wifi-iface'
- option title '802.11h (atheros)'
- option datatype boolean
-
-config variable
- option name 'hidden'
- option section 'wireless.wifi-iface'
- option title 'Hide ESSID (atheros, broadcom, prism2)'
- option datatype boolean
- list depends 'mode=ap'
- list depends 'mode=adhoc'
- list depends 'mode=wds'
-
-config variable
- option name 'isolate'
- option section 'wireless.wifi-iface'
- option title 'isolate (atheros, broadcom)'
- option datatype boolean
- list depends 'mode=ap'
-
-config variable
- option name 'bgscan'
- option section 'wireless.wifi-iface'
- option title 'Background Scan (atheros)'
- option datatype boolean
-
-config variable
- option name 'sw_merge'
- option section 'wireless.wifi-iface'
- option title 'Disable Ad-Hoc HW beacon timer (atheros)'
- option datatype boolean
-
-config variable
- option name 'nosbeacon'
- option section 'wireless.wifi-iface'
- option title 'Disable station HW beacon timer (atheros)'
- option datatype boolean
-
-config variable
- option name 'probereq'
- option section 'wireless.wifi-iface'
- option title 'Disable probe responses (atheros)'
- option datatype boolean
-
-config variable
- option name 'macpolicy'
- option section 'wireless.wifi-iface'
- option title 'MAC-Address Filter (atheros, prism2)'
- option type enum
-
-config enum
- option variable 'wireless.wifi-iface.macpolicy'
- option value 'deny'
- option title 'Allow listed only'
-
-config enum
- option variable 'wireless.wifi-iface.macpolicy'
- option value 'allow'
- option title 'Allow all except listed'
-
-config variable
- option name 'maclist'
- option section 'wireless.wifi-iface'
- option title 'MAC-List (atheros, prism2)'
- list depends 'macpolicy=allow'
- list depends 'macpolicy=deny'
- option type lazylist
- option datatype macaddr
-
-config variable
- option name 'rate'
- option section 'wireless.wifi-iface'
- option title 'Transmission Rate (atheros, prism2)'
-
-config variable
- option name 'mcast_rate'
- option section 'wireless.wifi-iface'
- option title 'Multicast Rate (atheros)'
-
-config variable
- option name 'minrate'
- option section 'wireless.wifi-iface'
- option title 'Minimum Rate (atheros)'
-
-config variable
- option name 'maxrate'
- option section 'wireless.wifi-iface'
- option title 'Maximum Rate (atheros)'
-
-config variable
- option name 'compression'
- option section 'wireless.wifi-iface'
- option title 'Compression (atheros)'
- option datatype boolean
-
-config variable
- option name 'bursting'
- option section 'wireless.wifi-iface'
- option title 'Frame Bursting (atheros)'
- option datatype boolean
-
-config variable
- option name 'turbo'
- option section 'wireless.wifi-iface'
- option title 'Turbo Mode (atheros)'
- option datatype boolean
-
-config variable
- option name 'ff'
- option section 'wireless.wifi-iface'
- option title 'Fast Frames (atheros)'
- option datatype boolean
-
-config variable
- option name 'wmm'
- option section 'wireless.wifi-iface'
- option title 'WMM Mode (atheros)'
- option datatype boolean
-
-config variable
- option name 'xr'
- option section 'wireless.wifi-iface'
- option title 'XR Support (atheros)'
- option datatype boolean
-
-config variable
- option name 'ar'
- option section 'wireless.wifi-iface'
- option title 'AR Support (atheros)'
- option datatype boolean
-
-config variable
- option name 'encryption'
- option section 'wireless.wifi-iface'
- option title 'Encryption'
- option description 'WPA-Encryption requires wpa_supplicant (for client mode) or hostapd (for AP and ad-hoc mode) to be installed.'
- option type enum
-
-config enum
- option variable 'wireless.wifi-iface.encryption'
- option value 'none'
- option title 'No Encryption'
-
-config enum
- option variable 'wireless.wifi-iface.encryption'
- option value 'wep'
- option title 'WEP'
-
-config enum
- option variable 'wireless.wifi-iface.encryption'
- option value 'psk'
- option title 'WPA-PSK'
-
-config enum
- option variable 'wireless.wifi-iface.encryption'
- option value 'psk2'
- option title 'WPA2-PSK'
-
-config enum
- option variable 'wireless.wifi-iface.encryption'
- option value 'psk+psk2'
- option title 'WPA-PSK/WPA2-PSK Mixed Mode (nas)'
-
-config enum
- option variable 'wireless.wifi-iface.encryption'
- option value 'mixed'
- option title 'WPA-PSK/WPA2-PSK Mixed Mode (hostapd)'
-
-config enum
- option variable 'wireless.wifi-iface.encryption'
- option value 'wpa'
- option title 'WPA-EAP'
-
-config enum
- option variable 'wireless.wifi-iface.encryption'
- option value 'wpa2'
- option title 'WPA2-EAP'
-
-config variable
- option name 'server'
- option section 'wireless.wifi-iface'
- option title 'RadiusServer'
- list depends 'encryption=wpa,mode=ap'
- list depends 'encryption=wpa2,mode=ap'
- option datatype host
-
-config variable
- option name 'port'
- option section 'wireless.wifi-iface'
- option title 'Radius-Port'
- list depends 'encryption=wpa,mode=ap'
- list depends 'encryption=wpa2,mode=ap'
- option datatype port
-
-config variable
- option name 'key'
- option section 'wireless.wifi-iface'
- option title 'Key'
- option minlength 8
- option maxlength 63
- list depends 'encryption=wep'
- list depends 'encryption=psk'
- list depends 'encryption=wpa,mode=ap'
- list depends 'encryption=psk2'
- list depends 'encryption=wpa2,mode=ap'
- list depends 'encryption=psk+psk2'
- list depends 'encryption=mixed'
-
-config variable
- option name 'nasid'
- option section 'wireless.wifi-iface'
- option title 'NAS ID'
- list depends 'encryption=wpa,mode=ap'
- list depends 'encryption=wpa2,mode=ap'
-
-config variable
- option name 'eap_type'
- option section 'wireless.wifi-iface'
- option title 'EAP-Method'
- option type enum
- list depends 'encryption=wpa,mode=sta'
- list depends 'encryption=wpa2,mode=sta'
-
-config enum
- option variable 'wireless.wifi-iface.eap_type'
- option value 'TLS'
-
-config enum
- option variable 'wireless.wifi-iface.eap_type'
- option value 'PEAP'
-
-config enum
- option variable 'wireless.wifi-iface.eap_type'
- option value 'TTLS'
-
-config variable
- option name 'ca_cert'
- option section 'wireless.wifi-iface'
- option title 'Path to CA-Certificate'
- list depends 'encryption=wpa,mode=sta'
- list depends 'encryption=wpa2,mode=sta'
- option datatype file
-
-config variable
- option name 'priv_key'
- option section 'wireless.wifi-iface'
- option title 'Path to Private Key'
- list depends 'mode=sta,encryption=wpa2,eap_type=TLS'
- list depends 'mode=sta,encryption=wpa,eap_type=TLS'
- option datatype file
-
-
-config variable
- option name 'priv_key_pwd'
- option section 'wireless.wifi-iface'
- option title 'Password of Private Key'
- list depends 'mode=sta,encryption=wpa2,eap_type=TLS'
- list depends 'mode=sta,encryption=wpa,eap_type=TLS'
-
-config variable
- option name 'auth'
- option section 'wireless.wifi-iface'
- option title 'Authentication'
- list depends 'mode=sta,encryption=wpa2,eap_type=PEAP'
- list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
- list depends 'mode=sta,encryption=wpa2,eap_type=TTLS'
- list depends 'mode=sta,encryption=wpa,eap_type=TTLS'
-
-config variable
- option name 'identity'
- option section 'wireless.wifi-iface'
- option title 'Identity'
- list depends 'mode=sta,encryption=wpa2,eap_type=PEAP'
- list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
- list depends 'mode=sta,encryption=wpa2,eap_type=TTLS'
- list depends 'mode=sta,encryption=wpa,eap_type=TTLS'
-
-config variable
- option name 'password'
- option section 'wireless.wifi-iface'
- option title 'Password'
- list depends 'mode=sta,encryption=wpa2,eap_type=PEAP'
- list depends 'mode=sta,encryption=wpa,eap_type=PEAP'
- list depends 'mode=sta,encryption=wpa2,eap_type=TTLS'
- list depends 'mode=sta,encryption=wpa,eap_type=TTLS'