[EMAIL PROTECTED] wrote:
+umount /.cdrom
+echo -n "Remove the CD from the drive and press Enter..."
Ok, I've built a new iso and have been testing it a bit. First of all,
as usual, good work Alexander. :) There's a lot of nice improvements, I
think, and the initial timezone/locale/keyboard are a nice piece of work.
Just a couple of comments on the eject setup.
Might the process be smoother if we used the 'eject' program?:
ftp://metalab.unc.edu/pub/Linux/utils/disk-management/eject-2.1.0.tar.gz
So, at boot we capture the device that the cd is in, and after 'umount
/.cdrom' we do something like:
if [ `eject /dev/xxx` ] ; then
echo -n "Remove the CD from the drive and press Enter..."
read Enter
fi
I'd prefer something like this that doesn't always break the shutdown
process and require manual intervention. After all, what happens if you
just want to reboot the machine remotely (for whatever reason), or halt
it? And you get stuck on the read Enter?
--
JH
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page