projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59f288c
)
99base/init: removed cdrom polling reset code
author
Harald Hoyer
<harald@redhat.com>
Fri, 2 Sep 2011 07:01:05 +0000
(09:01 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Fri, 2 Sep 2011 17:19:40 +0000
(19:19 +0200)
This is done globally now.
modules.d/99base/init
patch
|
blob
|
history
diff --git
a/modules.d/99base/init
b/modules.d/99base/init
index
4cbe342
..
fe7694a
100755
(executable)
--- 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"