Subversion Repositories livecd

Rev

Rev 164 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 164 Rev 166
Line 229... Line 229...
229
 
229
 
230
# eject CDROM 
230
# eject CDROM 
231
# if CDROM is not on NFS and if noeject is not set
231
# if CDROM is not on NFS and if noeject is not set
232
if [ ! $NFSROOT ] && [ ! $NOEJECT ]; then
232
if [ ! $NFSROOT ] && [ ! $NOEJECT ]; then
233
    echo -n "Ejecting CD-ROM ... "
233
    echo -n "Ejecting CD-ROM ... "
234
    eject "/livecd/live`grep $MOUNTDIR/live/livecd /proc/mounts|awk '{print $1}'`"
234
    eject $( grep /$MOUNTDIR/live/livecd /proc/mounts | awk '{print $1}' )
235
    echo
235
    echo
236
fi
236
fi
237
 
237
 
238
if [ "${command##*/}" = "reboot" ]; then
238
if [ "${command##*/}" = "reboot" ]; then
239
  echo "Rebooting."; sleep 1
239
  echo "Rebooting."; sleep 1