From: Florian Fainelli Date: Sat, 10 Apr 2010 18:35:14 +0000 (+0000) Subject: add debugging entry to hotplug config X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=135c4b8d05fb456aa9a866e585c256fe9d395e31;p=openwrt%2Fstaging%2Fblocktrron.git add debugging entry to hotplug config This is useful for seeing what devices are detected by the system. Signed-off-by: Philip Prindeville SVN-Revision: 20785 --- 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