Jeremy Huntwork wrote:
if [ `eject /dev/xxx` ] ; then
    echo -n "Remove the CD from the drive and press Enter..."
    read Enter
fi


Btw, I just tested this, and it works, although eject (or perhaps the kernel) spits out some warnings saying that eject is using deprecated symbols. Funny, I didn't get that on my other system...

Only thing I didn't get to try was capturing the correct cd drive and plugging that into the script dynamically.

--
JH

--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to