From 1d31ff06952c3ba830b3fed8a5e7c46bc42c951c Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 10 Apr 2010 18:35:14 +0000 Subject: [package] add debugging entry to hotplug config This is useful for seeing what devices are detected by the system. Signed-off-by: Philip Prindeville git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20785 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/hotplug2-common.rules | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'package/base-files/files/etc') 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 -- cgit v1.2.3