Subversion Repositories livecd

Rev

Rev 112 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 112 Rev 159
Line 217... Line 217...
217
 
217
 
218
# eject CDROM (if CDROM is not on NFS)
218
# eject CDROM (if CDROM is not on NFS)
219
more /proc/cmdline | grep -q "nfsroot="
219
more /proc/cmdline | grep -q "nfsroot="
220
if [ "$?" != "0" ]; then
220
if [ "$?" != "0" ]; then
221
    echo "Ejecting CD-ROM ..."
221
    echo "Ejecting CD-ROM ..."
222
    eject
222
    # eject
-
 
223
    eject "/livecd/live`grep livecd/live/livecd /proc/mounts|awk '{print $1}'`"
223
    echo
224
    echo
224
fi
225
fi
225
 
226
 
226
if [ "${command##*/}" = "reboot" ]; then
227
if [ "${command##*/}" = "reboot" ]; then
227
  echo "Rebooting."; sleep 1
228
  echo "Rebooting."; sleep 1