aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/dnsmasq/files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-04-01 08:33:10 +0000
committerJohn Crispin <john@openwrt.org>2015-04-01 08:33:10 +0000
commit8acbb5783d8df504d48cdcb6d919fb71fa7b179a (patch)
treef1178fcff8b7a16d8bac4d5098f08e1bb96a97c3 /package/network/services/dnsmasq/files
parent3ec7ccf50187a402fea21253972796549e256f9f (diff)
downloadupstream-8acbb5783d8df504d48cdcb6d919fb71fa7b179a.tar.gz
upstream-8acbb5783d8df504d48cdcb6d919fb71fa7b179a.tar.bz2
upstream-8acbb5783d8df504d48cdcb6d919fb71fa7b179a.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> SVN-Revision: 45213
Diffstat (limited to 'package/network/services/dnsmasq/files')
-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"