#!/bin/sh fmgr=pcmanfm for flashdrive in vl-hot ; do mount /mnt/vl-hot 2> /dev/null if [ vl-hot = 0 ]; then break fi done $fmgr /mnt/vl-hot sleep 1 umount /mnt/vl-hot exit 0