#!/bin/sh d=/mnt/fd0 [ -n "`mount $d 2>&1`" ]&&umount $d