truecrypt_scripts/truecrypt_getdevices.bash
changeset 1 ad15a8882cac
parent 0 35acc83f4749
child 2 e0ab41bae977
     1.1 --- a/truecrypt_scripts/truecrypt_getdevices.bash	Tue Feb 25 08:08:37 2014 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,18 +0,0 @@
     1.4 -#!/bin/bash
     1.5 -
     1.6 -if [ -r "truecrypt_config.cfg" ]
     1.7 -then
     1.8 -	. truecrypt_config.cfg
     1.9 -else
    1.10 -	exit 1
    1.11 -fi
    1.12 -
    1.13 -devicelist="$($tc_cmd -l | awk '{ print $2}')"
    1.14 -result="$?"
    1.15 -if [ "$result" != "0" ]
    1.16 -then
    1.17 -	exit 1
    1.18 -fi
    1.19 -
    1.20 -echo "$devicelist"
    1.21 -exit 0
    1.22 \ No newline at end of file