#!/bin/sh
#This shellscript is NOT part of TrueCrypt!
#TODO: Meh, kills GUI on the "Enter your password Dialog", but don't care. 
unset GTK2_RC_FILES
export xts=0
modprobe xts && xts=1
if [ $xts -eq 0 ] ; then
echo "Your kernel does not support XTS. Will use -m nokernelcrypto";
/usr/bin/truecrypt.real -m nokernelcrypto $@ 
exit
fi
/usr/bin/truecrypt.real $@

