summaryrefslogtreecommitdiff
path: root/package/base-files/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-04-10 18:35:14 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-04-10 18:35:14 +0000
commit135c4b8d05fb456aa9a866e585c256fe9d395e31 (patch)
treeaa201048ac1b926f042059e7fb27ff68338c56cb /package/base-files/files
parent54e62a3f383b7e95e8508e625da5291928b0a735 (diff)
downloadmtk-20170518-135c4b8d05fb456aa9a866e585c256fe9d395e31.zip
mtk-20170518-135c4b8d05fb456aa9a866e585c256fe9d395e31.tar.gz
mtk-20170518-135c4b8d05fb456aa9a866e585c256fe9d395e31.tar.bz2
add debugging entry to hotplug config
This is useful for seeing what devices are detected by the system. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> SVN-Revision: 20785
Diffstat (limited to 'package/base-files/files')
-rw-r--r--package/base-files/files/etc/hotplug2-common.rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/base-files/files/etc/hotplug2-common.rules b/package/base-files/files/etc/hotplug2-common.rules
index bb76667..96a4731 100644
--- a/package/base-files/files/etc/hotplug2-common.rules
+++ b/package/base-files/files/etc/hotplug2-common.rules
@@ -1,4 +1,10 @@
+# uncomment me to log hotplug events
+# DEVPATH is set {
+# nothrottle
+# exec logger -s -t hotplug -p daemon.info "name=%DEVICENAME%, path=%DEVPATH%"
+# }
+
DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio|hvc) {
nothrottle
makedev /dev/%DEVICENAME% 0666