mirror of
https://github.com/openwrt/packages.git
synced 2025-12-28 03:30:05 +04:00
* update to [2021-09-27](da2501f542) * 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> (cherry picked from commitf8d16338da)
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
|