summaryrefslogtreecommitdiff
path: root/package/trelay/files/trelay.hotplug
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-03-28 11:02:38 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-03-28 11:02:38 +0000
commit751ddce33684c31f0769eaa05f3c465826e0aaec (patch)
treeea3504f5c5f7d282928600a4ed42474e62073a04 /package/trelay/files/trelay.hotplug
parent36dba7bb1a3db687e7447a4a9266e9a991e3a584 (diff)
add trelay, a trivial ethernet relay which allows pseudo-bridging ad-hoc or client mode devices over vlans to other hosts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31122 3c298f89-4303-0410-b956-a3cf2f4a3e73
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