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