#!/bin/sh # umount cdrom if [ $? -eq 0 ] ; then rmdir cdrom fi