Added support for PXE boot configuration
authorSteven Barth <steven@midlink.org>
Fri, 17 Oct 2008 16:18:02 +0000 (16:18 +0000)
committerSteven Barth <steven@midlink.org>
Fri, 17 Oct 2008 16:18:02 +0000 (16:18 +0000)
i18n/english/luasrc/i18n/admin-core.en.lua
i18n/english/luasrc/i18n/admin-core.en.xml
i18n/german/luasrc/i18n/admin-core.de.lua
i18n/german/luasrc/i18n/admin-core.de.xml
modules/admin-core/root/lib/uci/schema/default/dhcp
modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua

index 3260661..ffd15a4 100644 (file)
@@ -162,6 +162,9 @@ dhcp_dnsmasq_ednspacket_max = '<abbr title="maximal">max.</abbr> <abbr title="Ex
 dhcp_dnsmasq_dhcpleasemax = '<abbr title="maximal">max.</abbr> <abbr title="Dynamic Host Configuration Protocol">DHCP</abbr>-Leases'
 dhcp_dnsmasq_addnhosts = 'additional hostfile'
 dhcp_dnsmasq_queryport = 'query port'
+dhcp_dnsmasq_enabletftp = 'Enable TFTP-Server'
+dhcp_dnsmasq_tftproot = 'TFTP-Server Root'
+dhcp_dnsmasq_dhcpboot = 'Network Boot Image'
 a_n_switch = 'Switch'
 a_n_conntrack = 'Active Connections'
 a_n_conntrack_desc = 'This page gives an overview over currently active network connections.'
index fac415d..266f362 100644 (file)
 <i18n:msg xml:id="dhcp_dnsmasq_dhcpleasemax"><abbr title="maximal">max.</abbr> <abbr title="Dynamic Host Configuration Protocol">DHCP</abbr>-Leases</i18n:msg>
 <i18n:msg xml:id="dhcp_dnsmasq_addnhosts">additional hostfile</i18n:msg>
 <i18n:msg xml:id="dhcp_dnsmasq_queryport">query port</i18n:msg>
+<i18n:msg xml:id="dhcp_dnsmasq_enabletftp">Enable TFTP-Server</i18n:msg>
+<i18n:msg xml:id="dhcp_dnsmasq_tftproot">TFTP-Server Root</i18n:msg>
+<i18n:msg xml:id="dhcp_dnsmasq_dhcpboot">Network Boot Image</i18n:msg>
 <i18n:msg xml:id="a_n_switch">Switch</i18n:msg>
 <i18n:msg xml:id="a_n_conntrack">Active Connections</i18n:msg>
 <i18n:msg xml:id="a_n_conntrack_desc">This page gives an overview over currently active network connections.</i18n:msg>
index 8eca8b9..650cc06 100644 (file)
@@ -180,6 +180,9 @@ dhcp_dnsmasq_resolvfile = 'Resolvdatei'
 dhcp_dnsmasq_resolvfile_desc = 'Lokale DNS-Datei'
 dhcp_dnsmasq_strictorder = 'Strikte Reihenfolge'
 dhcp_dnsmasq_strictorder_desc = 'DNS-Server werden strikt der Reihenfolge in der Resolvdatei nach abgefragt'
+dhcp_dnsmasq_enabletftp = 'TFTP-Server aktivieren'
+dhcp_dnsmasq_tftproot = 'TFTP-Server Wurzelverzeichnis'
+dhcp_dnsmasq_dhcpboot = 'Netzwerk-Boot Abbild'
 file = 'Datei'
 frag = 'Frag.'
 frequency = 'Frequenz'
index 139477b..cab7852 100644 (file)
 <i18n:msg xml:id="dhcp_dnsmasq_resolvfile_desc">Lokale DNS-Datei</i18n:msg>
 <i18n:msg xml:id="dhcp_dnsmasq_strictorder">Strikte Reihenfolge</i18n:msg>
 <i18n:msg xml:id="dhcp_dnsmasq_strictorder_desc">DNS-Server werden strikt der Reihenfolge in der Resolvdatei nach abgefragt</i18n:msg>
+<i18n:msg xml:id="dhcp_dnsmasq_enabletftp">TFTP-Server aktivieren</i18n:msg>
+<i18n:msg xml:id="dhcp_dnsmasq_tftproot">TFTP-Server Wurzelverzeichnis</i18n:msg>
+<i18n:msg xml:id="dhcp_dnsmasq_dhcpboot">Netzwerk-Boot Abbild</i18n:msg>
 <i18n:msg xml:id="file">Datei</i18n:msg>
 <i18n:msg xml:id="frag">Frag.</i18n:msg>
 <i18n:msg xml:id="frequency">Frequenz</i18n:msg>
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'
index e853064..04ec1e1 100644 (file)
@@ -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