add debugging entry to hotplug config
authorFlorian Fainelli <florian@openwrt.org>
Sat, 10 Apr 2010 18:35:14 +0000 (18:35 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 10 Apr 2010 18:35:14 +0000 (18:35 +0000)
This is useful for seeing what devices are detected by the system.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 20785

package/base-files/files/etc/hotplug2-common.rules

index bb76667bb96fe76e8d152e8071a94f3e93577d6e..96a473116a1e0267f1ee5dba8818a3893dc20bfb 100644 (file)
@@ -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