From fa7257340e8b6b492420814efa520cc14c618275 Mon Sep 17 00:00:00 2001 From: Simo Leone Date: Sat, 21 Jun 2008 19:06:42 -0500 Subject: 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 --- hooks/archiso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hooks/archiso') 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 -- cgit v1.2.3-70-g09d2