mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 15:02:01 +08:00
f8d16338da
* update to [2021-09-27](https://github.com/aarond10/https_dns_proxy/commit/da2501f542a732167a78f1851a511d9c0abc2fd8) * fixes https://github.com/aarond10/https_dns_proxy/issues/125 * restart instead of reload on interface hotplug * fixes https://github.com/openwrt/packages/issues/16794 * produce output and log entries on service start/stop * prevent unnecessary dnsmasq restarts if service has previously updated dnsmasq settings * allow both named and typed dnsmasq instance settings to be updated * update 010-fix-cmakelists patch file Signed-off-by: Stan Grishin <stangri@melmac.net>
7 lines
237 B
Bash
7 lines
237 B
Bash
#!/bin/sh
|
|
|
|
if [ "$ACTION" = 'ifup' ] && [ "$INTERFACE" = 'wan' ] && /etc/init.d/https-dns-proxy enabled; then
|
|
logger -t "https-dns-proxy" "Restarting https-dns-proxy due to $ACTION of $INTERFACE"
|
|
/etc/init.d/https-dns-proxy restart
|
|
fi
|