aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/6relayd/files/6relayd.hotplug
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/ipv6/6relayd/files/6relayd.hotplug')
-rw-r--r--package/network/ipv6/6relayd/files/6relayd.hotplug2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/ipv6/6relayd/files/6relayd.hotplug b/package/network/ipv6/6relayd/files/6relayd.hotplug
index 79052822f6..fc9d680404 100644
--- a/package/network/ipv6/6relayd/files/6relayd.hotplug
+++ b/package/network/ipv6/6relayd/files/6relayd.hotplug
@@ -1,6 +1,6 @@
#!/bin/sh
/etc/init.d/6relayd enabled || exit 0
-[ -n "$INTERFACE" ] || exit 0
+[ -n "$INTERFACE" -a "$ACTION" != "ifupdate" ] || exit 0
. /etc/init.d/6relayd
restart_affected "$INTERFACE"