unbound: bugfix for UCI script typos
authorEric Luehrsen <redacted>
Mon, 19 Dec 2016 03:37:56 +0000 (22:37 -0500)
committerEric Luehrsen <redacted>
Mon, 19 Dec 2016 03:38:19 +0000 (22:38 -0500)
- UCI option dnsmasq_gate_name typo in few locations
- NTP hotplug to check /etc/init.d/unbound not ..dnsmasq

Signed-off-by: Eric Luehrsen <redacted>
net/unbound/files/unbound.ntpd
net/unbound/files/unbound.sh
net/unbound/files/unbound.uci

index 9244284d85d7a554eb94e9fb2b1fa49b315e80f8..2f312d90cfbdc484a696d985f1ebe269af95f4c8 100755 (executable)
@@ -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
index 16291dcbe07ea1fa5358b3c699101a18d2307212..26090251a9fc958c49e120005597a8d624f69dd7 100644 (file)
@@ -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
index 5fee3eb92cea00435ec0dac63a3cd06c0da4a7fc..ca348a6c4fa903a1c33994e67f0fcdb3df880c7f 100644 (file)
@@ -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'
git clone https://git.99rst.org/PROJECT