#!/bin/bash -e
if [ -e /mnt/cdrom ]; then
	CD=/mnt/cdrom
else
	CD=/cdrom
fi
mount $CD
ls $CD
read
eject
read
eject -t 2>/dev/null
