From c0a630001bfef43cec2b627a1cde3f7e409cb779 Mon Sep 17 00:00:00 2001 From: Eric Luehrsen Date: Sun, 18 Dec 2016 22:37:56 -0500 Subject: [PATCH] unbound: bugfix for UCI script typos - UCI option dnsmasq_gate_name typo in few locations - NTP hotplug to check /etc/init.d/unbound not ..dnsmasq Signed-off-by: Eric Luehrsen --- net/unbound/files/unbound.ntpd | 2 +- net/unbound/files/unbound.sh | 2 +- net/unbound/files/unbound.uci | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net/unbound/files/unbound.ntpd b/net/unbound/files/unbound.ntpd index 9244284d8..2f312d90c 100755 --- a/net/unbound/files/unbound.ntpd +++ b/net/unbound/files/unbound.ntpd @@ -18,7 +18,7 @@ ############################################################################## if [ "$ACTION" = stratum -a ! -f "$UNBOUND_TIMEFILE" ] \ - && /etc/init.d/dnsmasq enabled ; then + && /etc/init.d/unbound enabled ; then # echo "ntpd: $( date )" > $UNBOUND_TIMEFILE /etc/init.d/unbound restart diff --git a/net/unbound/files/unbound.sh b/net/unbound/files/unbound.sh index 16291dcbe..26090251a 100644 --- a/net/unbound/files/unbound.sh +++ b/net/unbound/files/unbound.sh @@ -441,7 +441,7 @@ unbound_uci() { #################### config_get_bool UNBOUND_B_DNS64 "$cfg" dns64 0 - config_get_bool UNBOUND_B_GATE_NAME "$cfg" dnsmsaq_gate_name 0 + config_get_bool UNBOUND_B_GATE_NAME "$cfg" dnsmasq_gate_name 0 config_get_bool UNBOUND_B_DNSMASQ "$cfg" dnsmasq_link_dns 0 config_get_bool UNBOUND_B_LOCL_NAME "$cfg" dnsmasq_only_local 0 config_get_bool UNBOUND_B_LOCL_SERV "$cfg" localservice 1 diff --git a/net/unbound/files/unbound.uci b/net/unbound/files/unbound.uci index 5fee3eb92..ca348a6c4 100644 --- a/net/unbound/files/unbound.uci +++ b/net/unbound/files/unbound.uci @@ -1,7 +1,7 @@ config unbound option dns64 '0' option dns64_prefix '64:ff9b::/96' - option dnsmsaq_gate_name '0' + option dnsmasq_gate_name '0' option dnsmasq_link_dns '0' option dnsmasq_only_local '0' option edns_size '1280'