SOURCES: hal.rules - stop spamming logs when DEVNAME or SEQNUM is ...

freetz freetz at pld-linux.org
Tue Nov 8 14:51:29 CET 2005


Author: freetz                       Date: Tue Nov  8 13:51:29 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- stop spamming logs when DEVNAME or SEQNUM is not set

---- Files affected:
SOURCES:
   hal.rules (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/hal.rules
diff -u SOURCES/hal.rules:1.1 SOURCES/hal.rules:1.2
--- SOURCES/hal.rules:1.1	Tue Oct 18 21:56:47 2005
+++ SOURCES/hal.rules	Tue Nov  8 14:51:24 2005
@@ -1,2 +1,2 @@
-RUN+="/usr/lib/hal.hotplug"
+ENV{SEQNUM}=="[0-9]*", ENV{UDEVD_EVENT}=="1", RUN+="/usr/lib/hal.hotplug"
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/hal.rules?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list