aboutsummaryrefslogtreecommitdiff
path: root/net/coova-chilli/files
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-11-30 01:13:43 +0100
committerImre Kaloz <kaloz@openwrt.org>2014-11-30 01:13:43 +0100
commit34b96ab26e0a027d19e78f3a362c625288110ad4 (patch)
tree62c3a70fd3df52cacafbeff5486eb07983d45267 /net/coova-chilli/files
parent796a524509b37cd15dc62fc6f23f86a933d67f36 (diff)
coova-chilli: move to github
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Diffstat (limited to 'net/coova-chilli/files')
-rw-r--r--net/coova-chilli/files/chilli.hotplug7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/coova-chilli/files/chilli.hotplug b/net/coova-chilli/files/chilli.hotplug
new file mode 100644
index 000000000..e12812b49
--- /dev/null
+++ b/net/coova-chilli/files/chilli.hotplug
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+[ "$ACTION" == "ifup" ] || exit 0
+
+[ "$INTERFACE" = "wan" ] && {
+ /etc/init.d/chilli restart
+}