18 lines
458 B
Bash
Executable File
18 lines
458 B
Bash
Executable File
#!/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
|
|
. /usr/local/bin/gridfire.rc
|
|
|
|
tail=`echo $@ | sed -e 's/.* \([^ ]*\) \([^ ]*\)/\1 \2/'`
|
|
RARGS=""
|
|
[[ "$*" =~ "--stdin" ]] || RARGS="--stdin $RARGS"
|
|
exec $PREFIX/bin/gridfire -H "veracrypt $tail" -- \
|
|
$PREFIX/bin/veracrypt.bash $RARGS "$@"
|
|
|
|
# FixMe: --new-password=<str> New password
|