mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
#214 exit if TOR is not installed on TOR option
This commit is contained in:
parent
a056587994
commit
b6ee124ba4
1 changed files with 10 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
source /mnt/hdd/raspiblitz.conf
|
||||
|
||||
# script to set up nginx and the SSL certificate for BTCPay Server
|
||||
# calls the config.scripts/internet.hiddenservice.sh for the Tor connection
|
||||
|
||||
|
@ -47,6 +49,14 @@ case $CHOICE in
|
|||
;;
|
||||
TOR)
|
||||
echo "setting up for Tor only"
|
||||
if [ "${runBehindTor}" != "on" ]; then
|
||||
whiptail --title " TOR needs be installed first " --msgbox "\
|
||||
Please activate TOR service first to use this option.
|
||||
Use 'Run behind TOR' in the SERVICES submenu.
|
||||
Once TOR is running, choose this option again.
|
||||
" 9 58
|
||||
exit 1
|
||||
fi
|
||||
ownDomain=0
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Reference in a new issue