mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
add sleep
This commit is contained in:
parent
f18d867dfd
commit
e6840a69ba
1 changed files with 2 additions and 1 deletions
|
@ -49,8 +49,9 @@ if [ "$1" = "menu" ]; then
|
||||||
--yesno "\nYou can connect Sphinx App over Tor. Its build in for iOS and on Android you need to use it together with the Orbot App." 10 72
|
--yesno "\nYou can connect Sphinx App over Tor. Its build in for iOS and on Android you need to use it together with the Orbot App." 10 72
|
||||||
if [ "$?" != "1" ]; then
|
if [ "$?" != "1" ]; then
|
||||||
echo "sphinxrelay_connection='tor'" >> /mnt/hdd/raspiblitz.conf
|
echo "sphinxrelay_connection='tor'" >> /mnt/hdd/raspiblitz.conf
|
||||||
echo "Please wait ... restarting sphinx relay to use tor"
|
echo "Please wait (+10secs) ... restarting sphinx relay to use tor"
|
||||||
sudo systemctl restart sphinxrelay
|
sudo systemctl restart sphinxrelay
|
||||||
|
sleep 10
|
||||||
else
|
else
|
||||||
# other options (dont set sphinxrelay_connection)
|
# other options (dont set sphinxrelay_connection)
|
||||||
echo "OK - keep as it is"
|
echo "OK - keep as it is"
|
||||||
|
|
Loading…
Add table
Reference in a new issue