init: fix cdrom polling loop

master
Harald Hoyer 2010-04-16 16:45:25 +02:00
parent 56f184310a
commit 2937028c54
1 changed files with 1 additions and 1 deletions

View File

@ -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))