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.hotplug6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/network/ipv6/6relayd/files/6relayd.hotplug b/package/network/ipv6/6relayd/files/6relayd.hotplug
new file mode 100644
index 0000000..7905282
--- /dev/null
+++ b/package/network/ipv6/6relayd/files/6relayd.hotplug
@@ -0,0 +1,6 @@
+#!/bin/sh
+/etc/init.d/6relayd enabled || exit 0
+[ -n "$INTERFACE" ] || exit 0
+
+. /etc/init.d/6relayd
+restart_affected "$INTERFACE"