#!/bin/sh # $HeadURL$ $LastChangedRevision$ VERSION="ADE_APP_TOKEN_RELEASEID" TAPE=${TAPE:-/dev/st0} echo -n "Creating 'BLANK' ... " cd /tmp rm -f BLANK touch BLANK echo "done" echo -n "Blanking tape ... " mt -t $TAPE rewind tar cf $TAPE BLANK echo "done" echo -n "Tidying up ... " mt -t $TAPE offline & rm -f BLANK wait echo "done"