commit c0a630001bfef43cec2b627a1cde3f7e409cb779
parent e9226f1d269847a8fbf90fdd5ba3360a03545bbd
Author: Eric Luehrsen <ericluehrsen@hotmail.com>
Date: Sun, 18 Dec 2016 22:37:56 -0500
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 <ericluehrsen@hotmail.com>
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git 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
@@ -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
@@ -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'