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