mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-07-09 15:04:01 +02:00
ask Tor ofor Sphinx
This commit is contained in:
@ -40,6 +40,24 @@ if [ "$1" = "menu" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# ask if user wants to use tor
|
||||||
|
if [ ${connection} = "localnetwork" ] && [ "${sphinxrelay_connection}" == "" ]; then
|
||||||
|
|
||||||
|
whiptail --title " Connect over Tor " \
|
||||||
|
--yes-button "Use Tor" \
|
||||||
|
--no-button "Other Pptions" \
|
||||||
|
--yesno "You can connect Sphinx App over Tor. Its build in for iOS and on Android you need to use it together with the Orbot App." 14 72
|
||||||
|
if [ "$?" != "1" ]; then
|
||||||
|
echo "1"
|
||||||
|
else
|
||||||
|
echo "0"
|
||||||
|
fi
|
||||||
|
exit
|
||||||
|
|
||||||
|
elif [ "${sphinxrelay_connection}" == "tor" ]; then
|
||||||
|
dialog --title " Tor Info " --msgbox "\nYou are using Sphinx App over Tor. If you want to try other options you need to deinstall & reinstall the Sphinx Relay." 10 40
|
||||||
|
fi
|
||||||
|
|
||||||
extraPairInfo=""
|
extraPairInfo=""
|
||||||
text="Go to https://sphinx.chat and download the Sphinx Chat app."
|
text="Go to https://sphinx.chat and download the Sphinx Chat app."
|
||||||
|
|
||||||
@ -72,6 +90,12 @@ MAINMENU > SUBSCRIBE & add LetsEncrypt HTTPS Domain"
|
|||||||
Public Domain: ${publicURL}
|
Public Domain: ${publicURL}
|
||||||
port forwarding on router needs to be active & may change port"
|
port forwarding on router needs to be active & may change port"
|
||||||
|
|
||||||
|
# When Tor
|
||||||
|
elif [ ${connection} = "tor" ]; then
|
||||||
|
text="${text}\n
|
||||||
|
Tor Connection: ${publicURL}
|
||||||
|
iOS support is native, Android needs Orbot"
|
||||||
|
|
||||||
# When nothing advise
|
# When nothing advise
|
||||||
elif [ ${connection} = "localnetwork" ]; then
|
elif [ ${connection} = "localnetwork" ]; then
|
||||||
text="${text}\n
|
text="${text}\n
|
||||||
|
Reference in New Issue
Block a user