tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

commit 8ec31a1737babf345ecb817596188fd03aabd8e8
parent d7b4313b0835d6e14cf934ec81c0e3d8f0940552
Author: Hellekin O. Wolf =8) <hellekin@cepheide.org>
Date:   Fri, 11 Feb 2011 04:02:40 +0100

One tool doing one thing and doing it well :)

Diffstat:
Msrc/tomb | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/tomb b/src/tomb @@ -137,11 +137,12 @@ ask_usbkey() { # # check where it is mounted # usbmount=`cat /proc/mounts | awk -v p=$usbpart '{ if( $1 == "/dev/" p) print $2 }'` - sleep 1 +# sleep 1 # mount the first partition on the usb key - mtmp=`tempfile -p tomb` - rm -f $mtmp - mkdir -p $mtmp +# mtmp=`tempfile -p tomb` +# rm -f $mtmp +# mkdir -p $mtmp + mtmp=$(/bin/mktemp -d --tmpdir tomb.XXXXXXXXXXXX) mount /dev/$usbpart $mtmp if [ $? = 0 ]; then usbmount=$mtmp