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.hotplug10
1 files changed, 0 insertions, 10 deletions
diff --git a/openwrt/package/ez-ipupdate/files/ez-ipupdate.hotplug b/openwrt/package/ez-ipupdate/files/ez-ipupdate.hotplug
deleted file mode 100644
index c305458..0000000
--- a/openwrt/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
- } &
-}