Added support for PXE boot configuration
[project/luci.git] / modules / admin-core / root / lib / uci / schema / default / dhcp
index 5f35232..86a5a47 100644 (file)
@@ -82,14 +82,12 @@ config variable
        option section 'dhcp.dnsmasq'
        option title 'Leasefile'
        option description 'file where given DHCP-leases will be stored'
-       option datatype file
 
 config variable
        option name 'resolvfile'
        option section 'dhcp.dnsmasq'
        option title 'Resolvfile'
        option description 'local DNS file'
-       option datatype file
 
 config variable
        option name 'nohosts'
@@ -152,6 +150,23 @@ config variable
        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'