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
commit11456c324d3e2e5bb3b113fc94d94f93952f8d42 (patch)
treeeba60c48998242ea34d1ad8d6347a5de18b46a8e /package/crda/files/hotplug.rule
parentec34d908c7f9277807249c07ab0de5a267683c6e (diff)
downloadupstream-11456c324d3e2e5bb3b113fc94d94f93952f8d42.tar.gz
upstream-11456c324d3e2e5bb3b113fc94d94f93952f8d42.tar.bz2
upstream-11456c324d3e2e5bb3b113fc94d94f93952f8d42.zip
crda: new package (thanks to Hauke Mehrtens <hauke@hauke-m.de>)
SVN-Revision: 14249
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
+}