Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorSimo Leone <simo@archlinux.org>2008-06-21 19:06:42 -0500
committerSimo Leone <simo@archlinux.org>2008-06-21 19:06:42 -0500
commitfa7257340e8b6b492420814efa520cc14c618275 (patch)
tree547f28e02460490a16e8b171b651e0935533b9be /hooks
parentda3ad5052f1e923d041a62b3995663b6541d405f (diff)
Fix CD-ROM Ejection
Fixes FS#10206 Setting the drive to autoeject causes udevadm trigger to always eject the device if it isn't mounted. Signed-off-by: Simo Leone <simo@archlinux.org>
Diffstat (limited to 'hooks')
-rw-r--r--hooks/archiso2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/archiso b/hooks/archiso
index 2fcf93f..8a6b648 100644
--- a/hooks/archiso
+++ b/hooks/archiso
@@ -76,7 +76,7 @@ run_hook ()
if [ -d /proc/sys/dev/cdrom ]; then
echo 0 > /proc/sys/dev/cdrom/lock
- echo 1 > /proc/sys/dev/cdrom/autoeject
+ echo 0 > /proc/sys/dev/cdrom/autoeject
fi
if [ "${break}" = "y" ]; then