#!/bin/bash

# Mount volume /home/europen/volume1 with token keyfile "keyfile" from slot "1" to /media/truecrypt6
truecrypt --mount --keyfiles=token://slot/1/file/keyfile --token-lib=/usr/lib/opensc-pkcs11.so /home/europen/volume1 /media/truecrypt6

# Dismount volume /media/truecrypt6
#truecrypt --dismount /media/truecrypt6
