https-dns-proxy: fix unintentional call of service_stopped in boot()
Signed-off-by: Stan Grishin <stangri@melmac.ca>
This commit is contained in:
parent
bc0db51e43
commit
2e9f6c4446
|
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=https-dns-proxy
|
PKG_NAME:=https-dns-proxy
|
||||||
PKG_VERSION:=2023-10-25
|
PKG_VERSION:=2023-10-25
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy/
|
PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy/
|
||||||
|
|
|
@ -134,7 +134,7 @@ boot() {
|
||||||
ubus -t 30 wait_for network.interface 2>/dev/null
|
ubus -t 30 wait_for network.interface 2>/dev/null
|
||||||
on_boot_trigger=1
|
on_boot_trigger=1
|
||||||
rc_procd start_service 'on_boot' && service_started 'on_boot'
|
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() {
|
start_instance() {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
return SW_VERSION;
|
return SW_VERSION;
|
||||||
#else
|
#else
|
||||||
- return "2023.10.10-atLeast"; // update date sometimes, like 1-2 times a year
|
- 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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue