I try to add hotplug-script, which starts a sh-script if ip-address changes on specific wan interface (per dhcp-client).
Please, help to trigger hotplug events/variables for this event. Where the script should be placed (/etc/hotplug.d/dhcp/)?
My openvpn-client is bounded to one of wan-interfaces on openwrt router. If the ip address changes it is disfunctional. So, I'd like to fix it.
Thank you in advance.
P.S. current openwrt from master-branch is used.