aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/dnsmasq/files/dnsmasq.init
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-04-01 08:33:10 +0000
committerJohn Crispin <blogic@openwrt.org>2015-04-01 08:33:10 +0000
commit0a7a9c6a41f8cf6d8da880d57e14220c4650e501 (patch)
tree687fb0007557a21daa543f67fcb69c33c6c27ac6 /package/network/services/dnsmasq/files/dnsmasq.init
parent450ac468386a27c881fef9738c7daecc840e62fa (diff)
downloadupstream-0a7a9c6a41f8cf6d8da880d57e14220c4650e501.tar.gz
upstream-0a7a9c6a41f8cf6d8da880d57e14220c4650e501.tar.bz2
upstream-0a7a9c6a41f8cf6d8da880d57e14220c4650e501.zip
dnsmasq: backport --tftp-no-fail to ignore missing tftp root
This patch backports the option --tftp-no-fail to dnsmasq and prevents the service from aborting if the specified TFTP root directory is not available; this might be the case if TFTP files are located on external media that might occasionally not be present at startup. Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45213 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/dnsmasq/files/dnsmasq.init')
-rw-r--r--package/network/services/dnsmasq/files/dnsmasq.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init
index 2e7fb7bb8d..9795d1aef8 100644
--- a/package/network/services/dnsmasq/files/dnsmasq.init
+++ b/package/network/services/dnsmasq/files/dnsmasq.init
@@ -128,6 +128,7 @@ dnsmasq() {
append_bool "$cfg" boguspriv "--bogus-priv"
append_bool "$cfg" expandhosts "--expand-hosts"
append_bool "$cfg" enable_tftp "--enable-tftp"
+ append_bool "$cfg" tftp_no_fail "--tftp-no-fail"
append_bool "$cfg" nonwildcard "--bind-interfaces"
append_bool "$cfg" fqdn "--dhcp-fqdn"
append_bool "$cfg" proxydnssec "--proxy-dnssec"