diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-04-10 18:35:14 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-04-10 18:35:14 +0000 |
commit | 135c4b8d05fb456aa9a866e585c256fe9d395e31 (patch) | |
tree | aa201048ac1b926f042059e7fb27ff68338c56cb | |
parent | 54e62a3f383b7e95e8508e625da5291928b0a735 (diff) | |
download | master-31e0f0ae-135c4b8d05fb456aa9a866e585c256fe9d395e31.tar.gz master-31e0f0ae-135c4b8d05fb456aa9a866e585c256fe9d395e31.tar.bz2 master-31e0f0ae-135c4b8d05fb456aa9a866e585c256fe9d395e31.zip |
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
-rw-r--r-- | package/base-files/files/etc/hotplug2-common.rules | 6 |
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 bb76667bb9..96a473116a 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 |