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.hotplug10
1 files changed, 0 insertions, 10 deletions
diff --git a/package/ez-ipupdate/files/ez-ipupdate.hotplug b/package/ez-ipupdate/files/ez-ipupdate.hotplug
deleted file mode 100644
index c305458b1a..0000000000
--- a/package/ez-ipupdate/files/ez-ipupdate.hotplug
+++ /dev/null
@@ -1,10 +0,0 @@
-NAME=ez-ipupdate
-CONFIG=/etc/$NAME.conf
-COMMAND=/usr/sbin/$NAME
-
-[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && {
- [ -x $COMMAND ] && [ -r $CONFIG ] && {
- eval "ifname=\"\${${INTERFACE}_ifname}\""
- $COMMAND -c $CONFIG -i $ifname 2>&1 | logger -t $NAME
- } &
-}