summaryrefslogtreecommitdiff
path: root/openwrt/package/ez-ipupdate/files/ez-ipupdate.hotplug
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/ez-ipupdate/files/ez-ipupdate.hotplug')
-rw-r--r--openwrt/package/ez-ipupdate/files/ez-ipupdate.hotplug1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/package/ez-ipupdate/files/ez-ipupdate.hotplug b/openwrt/package/ez-ipupdate/files/ez-ipupdate.hotplug
new file mode 100644
index 0000000..3f27c14
--- /dev/null
+++ b/openwrt/package/ez-ipupdate/files/ez-ipupdate.hotplug
@@ -0,0 +1 @@
+[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && /usr/sbin/ez-ipupdate -c /etc/ez-ipupdate.conf &