]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
init: fix cdrom polling loop
authorHarald Hoyer <harald@redhat.com>
Fri, 16 Apr 2010 14:45:25 +0000 (16:45 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 16 Apr 2010 15:59:49 +0000 (17:59 +0200)
modules.d/99base/init

index 46969152ebbd06660160002c6af8a107947eae38..612c021f29f55208a4331488f77ec8610aa3a07f 100755 (executable)
@@ -195,7 +195,7 @@ while :; do
        # skip, if cdrom medium was already found
         strstr "$(udevadm info --query=env --path=${cdrom##/sys})" \
            ID_CDROM_MEDIA && continue
-        echo change > "$cdrom"        
+        echo change > "$cdrom/uevent"        
     done
     
     i=$(($i+1))