From: Harald Hoyer Date: Fri, 2 Sep 2011 07:01:05 +0000 (+0200) Subject: 99base/init: removed cdrom polling reset code X-Git-Tag: 014~104 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86880b8ff70993d9a2357892b4ad5f8345b5f798;p=platform%2Fupstream%2Fdracut.git 99base/init: removed cdrom polling reset code This is done globally now. --- diff --git a/modules.d/99base/init b/modules.d/99base/init index 4cbe342..fe7694a 100755 --- a/modules.d/99base/init +++ b/modules.d/99base/init @@ -281,14 +281,6 @@ unset queuetriggered unset main_loop unset RDRETRY -# reset cdrom polling -for cdrom in /sys/block/sr*; do - [ -e "$cdrom" ] || continue - if [ -e "$cdrom"/events_poll_msecs ]; then - echo -1 > "$cdrom"/events_poll_msecs - fi -done - # pre-mount happens before we try to mount the root filesystem, # and happens once. getarg 'rd.break=pre-mount' 'rdbreak=pre-mount' && emergency_shell -n pre-mount "Break pre-mount"