mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
fix httpsdns
This commit is contained in:
parent
0b8659ced7
commit
d155e9a8ad
5 changed files with 235 additions and 102 deletions
6
https-dns-proxy/files/https-dns-proxy.hotplug.iface
Normal file
6
https-dns-proxy/files/https-dns-proxy.hotplug.iface
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue