mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 20:16:22 +02:00
Add TOR QR to RTL
This commit is contained in:
@@ -22,13 +22,15 @@ if [ "$1" = "menu" ]; then
|
|||||||
torInfo="\nActivate TOR to access the web interface from outside your local network."
|
torInfo="\nActivate TOR to access the web interface from outside your local network."
|
||||||
toraddress=$(sudo cat /mnt/hdd/tor/RTL/hostname)
|
toraddress=$(sudo cat /mnt/hdd/tor/RTL/hostname)
|
||||||
if [ "${runBehindTor}" = "on" ] && [ ${#toraddress} -gt 0 ]; then
|
if [ "${runBehindTor}" = "on" ] && [ ${#toraddress} -gt 0 ]; then
|
||||||
torInfo="\nThe Hidden Service address for TOR Browser:\n${toraddress}"
|
torInfo="\nHidden Service address for TOR Browser (QR see LCD):\n${toraddress}"
|
||||||
|
/home/admin/config.scripts/blitz.lcd.sh qr "${toraddress}"
|
||||||
fi
|
fi
|
||||||
whiptail --title " Ride The Lightning (RTL)" --msgbox "Open the following URL in your local web browser:
|
whiptail --title " Ride The Lightning (RTL)" --msgbox "Open the following URL in your local web browser:
|
||||||
http://${localip}:3000
|
http://${localip}:3000
|
||||||
Use your Password B to login.
|
Use your Password B to login.
|
||||||
${torInfo}
|
${torInfo}
|
||||||
" 12 56
|
" 12 58
|
||||||
|
/home/admin/config.scripts/blitz.lcd.sh hide
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user