Add hotplug file
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 27 Mar 2008 20:06:55 +0000 (20:06 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 27 Mar 2008 20:06:55 +0000 (20:06 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10681 3c298f89-4303-0410-b956-a3cf2f4a3e73

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