aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/trelay/files/trelay.hotplug
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/trelay/files/trelay.hotplug')
-rw-r--r--package/kernel/trelay/files/trelay.hotplug5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/kernel/trelay/files/trelay.hotplug b/package/kernel/trelay/files/trelay.hotplug
new file mode 100644
index 0000000000..31f7378406
--- /dev/null
+++ b/package/kernel/trelay/files/trelay.hotplug
@@ -0,0 +1,5 @@
+case "$ACTION" in
+ add|register)
+ [ -f /var/run/trelay.active ] && /etc/init.d/trelay start
+ ;;
+esac