Ucified PXE-Boot options for dnsmasq
authorSteven Barth <cyrus@openwrt.org>
Mon, 13 Oct 2008 07:39:56 +0000 (07:39 +0000)
committerSteven Barth <cyrus@openwrt.org>
Mon, 13 Oct 2008 07:39:56 +0000 (07:39 +0000)
SVN-Revision: 12960

package/dnsmasq/files/dnsmasq.init

index 4fddc4723289d10854c7f61ad7bbfc60f838d023..7d32be077efcfbc1b0bb895becd5c8ab5e56eacd 100644 (file)
@@ -52,6 +52,7 @@ dnsmasq() {
        append_bool "$cfg" dbus "-1"
        append_bool "$cfg" boguspriv "-b"
        append_bool "$cfg" expandhosts "-E"
+       append_bool "$cfg" enable_tftp "--enable-tftp"
 
        append_parm "$cfg" dnsforwardmax "-0"
        append_parm "$cfg" port "-p"
@@ -63,6 +64,8 @@ dnsmasq() {
        append_parm "$cfg" "local" "-S"
        append_parm "$cfg" "leasefile" "-l"
        append_parm "$cfg" "resolvfile" "-r"
+       append_parm "$cfg" "tftp_root" "--tftp-root"
+       append_parm "$cfg" "dhcp_boot" "--dhcp-boot"
 
        config_get leasefile $cfg leasefile
        [ -e "$leasefile" ] || touch "$leasefile"