summaryrefslogtreecommitdiff
path: root/package/crda/files/hotplug.rule
diff options
context:
space:
mode:
Diffstat (limited to 'package/crda/files/hotplug.rule')
-rw-r--r--package/crda/files/hotplug.rule6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/crda/files/hotplug.rule b/package/crda/files/hotplug.rule
new file mode 100644
index 0000000000..1ec033f46a
--- /dev/null
+++ b/package/crda/files/hotplug.rule
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Copyright (C) 2009 OpenWrt.org
+
+[ change = "$ACTION" -a regulatory.0 = "$DEVICENAME" ] && {
+ /sbin/crda
+}