summaryrefslogtreecommitdiffstats
path: root/package/crda/files
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-28 20:03:04 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-28 20:03:04 +0000
commit0dd21ca83758dd25fc4821ec0ce243d8500d7caf (patch)
tree5707beb462e87930eb127fd7711b3323b5a0b962 /package/crda/files
parentd99855b11e017417c58725675355e5c5ca956158 (diff)
[package] crda: new package (thanks to Hauke Mehrtens <hauke@hauke-m.de>)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14249 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/crda/files')
-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 000000000..1ec033f46
--- /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
+}