99base/init: fix check for in kernel polling
authorHarald Hoyer <harald@redhat.com>
Thu, 20 Oct 2011 09:13:34 +0000 (11:13 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 20 Oct 2011 11:06:52 +0000 (13:06 +0200)
modules.d/99base/init

index 556ac68..36b2152 100755 (executable)
@@ -243,7 +243,7 @@ while :; do
     # no more udev jobs and queues empty.
     sleep 0.5
 
-    if [ ! -e /sys/module/block/parameters/uevent ]; then
+    if [ ! -e /sys/module/block/parameters/events_dfl_poll_msecs ]; then
         # if the kernel does not support autopolling
         # then we have to do a
         # dirty hack for some cdrom drives,