MYFS=/mnt/myfs if mountpoint -q $MYFS; then echo $MYFS is mounted else echo $MYFS is not mounted fi
if -d $MYMFS; then ### WRONG fi
MYFS=/mnt/myfs if mountpoint -q $MYFS; then echo $MYFS is mounted else echo $MYFS is not mounted fi
if -d $MYMFS; then ### WRONG fi