aboutsummaryrefslogtreecommitdiffstats
path: root/package/dnsmasq/files/dnsmasq.init
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2008-10-13 07:39:56 +0000
committerSteven Barth <cyrus@openwrt.org>2008-10-13 07:39:56 +0000
commitd0d1d9fd571bb8fbf96f16241e857ab4038a29df (patch)
treeb7c7cd7d07c8292713fd313140974659e18950d2 /package/dnsmasq/files/dnsmasq.init
parentd625fc88d3d0c2eb771b60ec9893073a10e3df1f (diff)
downloadupstream-d0d1d9fd571bb8fbf96f16241e857ab4038a29df.tar.gz
upstream-d0d1d9fd571bb8fbf96f16241e857ab4038a29df.tar.bz2
upstream-d0d1d9fd571bb8fbf96f16241e857ab4038a29df.zip
Ucified PXE-Boot options for dnsmasq
SVN-Revision: 12960
Diffstat (limited to 'package/dnsmasq/files/dnsmasq.init')
-rw-r--r--package/dnsmasq/files/dnsmasq.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index 4fddc47232..7d32be077e 100644
--- a/package/dnsmasq/files/dnsmasq.init
+++ b/package/dnsmasq/files/dnsmasq.init
@@ -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"