[package] crda: new package (thanks to Hauke Mehrtens <hauke@hauke-m.de>)
[openwrt/svn-archive/archive.git] / package / crda / files / hotplug.rule
diff --git a/package/crda/files/hotplug.rule b/package/crda/files/hotplug.rule
new file mode 100644 (file)
index 0000000..1ec033f
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Copyright (C) 2009 OpenWrt.org
+
+[ change = "$ACTION" -a regulatory.0 = "$DEVICENAME" ] && {
+       /sbin/crda
+}