diff options
author | Steven Barth <steven@midlink.org> | 2008-10-17 16:18:02 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-10-17 16:18:02 +0000 |
commit | f68d31c8f0526ea879c71a5e80f072b7d9d7e0aa (patch) | |
tree | 73139bb398d9b93e0140fbb55e2026857980b30d /modules | |
parent | 2c0e2886183480255d3b7bc6a01589dcb32c34ae (diff) |
Added support for PXE boot configuration
Diffstat (limited to 'modules')
-rw-r--r-- | modules/admin-core/root/lib/uci/schema/default/dhcp | 19 | ||||
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua | 3 |
2 files changed, 20 insertions, 2 deletions
diff --git a/modules/admin-core/root/lib/uci/schema/default/dhcp b/modules/admin-core/root/lib/uci/schema/default/dhcp index 5f352328b..86a5a474c 100644 --- a/modules/admin-core/root/lib/uci/schema/default/dhcp +++ b/modules/admin-core/root/lib/uci/schema/default/dhcp @@ -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' diff --git a/modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua b/modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua index e85306471..04ec1e15c 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua @@ -38,5 +38,8 @@ s:option(Value, "ednspacket_max").optional = true s:option(Value, "dhcpleasemax").optional = true s:option(Value, "addnhosts").optional = true s:option(Value, "queryport").optional = true +s:option(Flag, "enable_tftp").optional = true +s:option(Value, "tftp_root").optional = true +s:option(Value, "dhcp_boot").optional = true return m
\ No newline at end of file |