aboutsummaryrefslogtreecommitdiffstats
path: root/package/crda/files/hotplug.rule
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-01-28 20:03:04 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-01-28 20:03:04 +0000
commit887ad9540107ae00dab2994ebf5a2553e683a723 (patch)
tree5707beb462e87930eb127fd7711b3323b5a0b962 /package/crda/files/hotplug.rule
parent25a9217e025cf76addb86f755dfcb7390a0438e0 (diff)
downloadupstream-887ad9540107ae00dab2994ebf5a2553e683a723.tar.gz
upstream-887ad9540107ae00dab2994ebf5a2553e683a723.tar.bz2
upstream-887ad9540107ae00dab2994ebf5a2553e683a723.zip
[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/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
+}