#!/bin/bash # -*- mode: sh; tab-width: 8; encoding: utf-8-unix -*- prog=`basename $0 .bash` PREFIX=/usr/local ROLE=toxcore . /usr/local/bin/usr_local_tput.bash || exit 2 . /usr/local/bin/gridfire.rc if [ "$#" -eq 0 ] ; then echo USAGE: $0 [options] cat << EOF USAGE: $0 [--arg password ] -- truecrypt-args `basename $0` arguments go before the -- truecrypt args go after EOF exit 1 fi tail=`sed -e 's/.* \([^ ]*\) \([^ ]*\)/\1 \2/' <<< $@` exec $PREFIX/bin/gridfire -E --double password -H "truecrypt $tail" -- \ $PREFIX/bin/truecrypt.bash "$@" # FixMe: --new-password= New password