Chance to close the CD-Drive before shutting down

Project:Trisquel
Version:6.0
Component:Live System
Category:feature request
Priority:minor
Assigned:Unassigned
Status:active
Description

When the system is asked to shutdown, the system ejects the CD and instantly shutdown, leaving the CD-ROM drive open. I think it'd be good if the system ask the user to take the CD-ROM from the drive and qhen he/she press a key the system turns off.

Fri, 02/07/2014 - 20:58
Title:Chance to take the CD before shutting down» Chance to close the CD-Drive before shutting down

I've change the title as it was wrong.

Sat, 02/08/2014 - 10:55

Yeah, power off while tray out is less than optimal. But, it might depend on your CD drive hardware behavior. According to eject man page

-a on|1|off|0
This option controls the auto-eject mode, supported by some devices. When enabled, the drive automatically ejects when the device is closed.

So, perhaps you should try eject -a off to see if that prevents the eject at shutdown. If it works, add it to startup scripts, e.g. via system settings > startup applications.

Of course if you'd wish to really tinker with this, you'd need to edit the runlevel 0 scripts.