aboutsummaryrefslogtreecommitdiffstats
path: root/package/dnsmasq/files
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-10-13 07:39:56 +0000
committerSteven Barth <steven@midlink.org>2008-10-13 07:39:56 +0000
commit1d96bd6e14e3bdea462624f91d1ca00b3b663b46 (patch)
tree474de11a6077a41246be9a82aabc4b18de2d62ef /package/dnsmasq/files
parenta24fab9ae3e8589d8a0bab0395da5cb08a5ecc9f (diff)
downloadupstream-1d96bd6e14e3bdea462624f91d1ca00b3b663b46.tar.gz
upstream-1d96bd6e14e3bdea462624f91d1ca00b3b663b46.tar.bz2
upstream-1d96bd6e14e3bdea462624f91d1ca00b3b663b46.zip
Ucified PXE-Boot options for dnsmasq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12960 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dnsmasq/files')
-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"