summaryrefslogtreecommitdiff
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
commit99ed5349b32951fa1ec28cc2ee3caaff83fcd681 (patch)
tree3d1ae3769b326406b8234c5e33d5f48dba1dc9d6
parenta53cf77e3f05362ed4ba814956a60d9151d92e5d (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>
-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