#!/bin/sh if [ "${ACTION}" == "add" ] then mount ${PWD}/${DEVNAME} /mnt/udisk elif [ "${ACTION}" == "remove" ] then umount /mnt/udisk fi