https-dns-proxy: fix unintentional call of service_stopped in boot() 22746/head
authorStan Grishin <stangri@melmac.ca>
Fri, 24 Nov 2023 16:11:57 +0000 (16:11 +0000)
committerStan Grishin <stangri@melmac.ca>
Fri, 24 Nov 2023 16:11:57 +0000 (16:11 +0000)
Signed-off-by: Stan Grishin <stangri@melmac.ca>
net/https-dns-proxy/Makefile
net/https-dns-proxy/files/etc/init.d/https-dns-proxy
net/https-dns-proxy/patches/020-src-options.c-add-version.patch

index 3037bd5a29c8d7d1b2596beaa1529960a8213349..69b6bbe8783e3e2faf9c5106543d82260862518e 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=https-dns-proxy
 PKG_VERSION:=2023-10-25
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy/
index 672e837c7aacbab74375aafa8e8377f2ec0c7da5..c9e38cca9ae7def6f7bcdde77f03730a6c6034f3 100755 (executable)
@@ -134,7 +134,7 @@ boot() {
        ubus -t 30 wait_for network.interface 2>/dev/null
        on_boot_trigger=1
        rc_procd start_service 'on_boot' && service_started 'on_boot'
-       is_resolver_working || rc_procd stop_service 'on_boot' && service_stopped 'on_boot'
+       is_resolver_working || { rc_procd stop_service 'on_boot' && service_stopped 'on_boot'; }
 }
 
 start_instance() {
index 72d3dc5dff8f8061238a565ee62d62ee4a93e5ed..8f3b9dfa24e0ab441db6b75468802d1fd1e96c5f 100644 (file)
@@ -5,7 +5,7 @@
    return SW_VERSION;
  #else
 -  return "2023.10.10-atLeast";  // update date sometimes, like 1-2 times a year
-+  return "2023-10-25-3";  // update date sometimes, like 1-2 times a year
++  return "2023-10-25-4";  // update date sometimes, like 1-2 times a year
  #endif
  }