16 lines
376 B
Bash
Executable File
16 lines
376 B
Bash
Executable File
#!/bin/bash
|
|
# -*- mode: sh; tab-width: 8; encoding: utf-8-unix -*-
|
|
|
|
prog=`basename $0 .bash`
|
|
PREFIX=/usr/local
|
|
ROLE=toxcore
|
|
[ -f $PREFIX/bin/gridfire.rc ] && . $PREFIX/bin/gridfire.rc
|
|
|
|
[ -e /run ] || exit 1
|
|
|
|
cd $PREFIX/src/gridfire || exit 3
|
|
|
|
export PYTHONPATH=$PREFIX/src/gridfire/pyassuan:$PREFIX/src/gridfire:$PWD
|
|
|
|
exec $PREFIX/bin/python3.sh bin/pinentry_gridfire.py "$@"
|