Add hotplug file
authorFlorian Fainelli <florian@openwrt.org>
Thu, 27 Mar 2008 20:06:55 +0000 (20:06 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 27 Mar 2008 20:06:55 +0000 (20:06 +0000)
SVN-Revision: 10681

ipv6/aiccu/files/aiccu.hotplug [new file with mode: 0644]

diff --git a/ipv6/aiccu/files/aiccu.hotplug b/ipv6/aiccu/files/aiccu.hotplug
new file mode 100644 (file)
index 0000000..6b5539a
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && /etc/init.d/aiccu enable && /etc/init.d/aiccu restart