1.1 --- a/truecrypt_scripts/truecrypt_init.sh Fri Jun 06 12:18:37 2014 +0200
1.2 +++ b/truecrypt_scripts/truecrypt_init.sh Tue Jun 10 09:22:20 2014 +0200
1.3 @@ -19,8 +19,11 @@
1.4 DEVICE="$(echo "$DEVICE" | awk '{print substr($1,0,9)}')"
1.5
1.6 # make sure the device is not mounted
1.7 +umount /var/run/usbmount/*
1.8 +sleep 1
1.9 umount ${DEVICE}*
1.10
1.11 +
1.12 if [ -z "$KEYFILE" ]
1.13 then
1.14 message="$($tc_cmd -c --non-interactive --quick --filesystem=none --encryption=AES --hash=RIPEMD-160 -p "$PASSWORD" "$DEVICE")"