[plug] Ejecting CD on shutdown

Davyd 'proXy' Madeley proxy at zdlcomputing.com
Thu Nov 21 20:31:21 WST 2002


On Thu, Nov 21, 2002 at 06:38:31PM +0800, Carl Gherardi wrote:

> Im working on a cd based distro and want to have the cdrom eject itself as
> it last task before shutdown.
> 
> I haven't had much success so far. Has anyone come across this in ther
> travels? I know anaconda ejects the CD before rebooting into the new OS.

In runlevel 0 and 6 add a rc.d call for eject
ie. something like
ln -s /usr/bin/eject /etc/rc.d/rc6.d/S99eject
to eject on reboot

-- 
http://davyd.ucc.asn.au/
linux.conf.au Perth 2003 <http://www.linux.conf.au>

PGP Fingerprint <http://davyd.ucc.asn.au/pgp>
08B0 341A 0B9B 08BB 2118  C060 2EDD BB4F 5191 6CDA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20021121/13170e0a/attachment.pgp>


More information about the plug mailing list