Show tahoe-lafs introducer on about screen

This commit is contained in:
Bob Mottram 2017-03-05 10:30:15 +00:00
parent d546d82db9
commit 4b6a159d50
1 changed files with 14 additions and 0 deletions

View File

@ -538,6 +538,19 @@ function show_ssh_public_key {
echo ''
}
function show_tahoelafs_introducer {
INTRODUCER_FILENAME=cat /home/tahoelafs/data/private/introducer.furl
if [ ! -f $INTRODUCER_FILENAME ]; then
return
fi
echo $'Tahoe-LAFS introducer'
echo '====================='
echo ''
echo "$(cat $INTRODUCER_FILENAME)"
echo ''
echo ''
}
function show_about {
clear
echo ''
@ -550,6 +563,7 @@ function show_about {
show_tor_bridges
show_ssh_public_key
show_domains
show_tahoelafs_introducer
show_mirrors_password
show_tahoe_introducer
show_users