From a2cfa53cfdd34e7c0bc064b0c80f240bf462d4bb Mon Sep 17 00:00:00 2001 From: rootzoll Date: Sun, 26 Jan 2020 23:57:37 +0100 Subject: [PATCH] Add TOR QR to RTL --- home.admin/config.scripts/bonus.rtl.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/home.admin/config.scripts/bonus.rtl.sh b/home.admin/config.scripts/bonus.rtl.sh index 370cc739a..edac8858f 100755 --- a/home.admin/config.scripts/bonus.rtl.sh +++ b/home.admin/config.scripts/bonus.rtl.sh @@ -22,13 +22,15 @@ if [ "$1" = "menu" ]; then torInfo="\nActivate TOR to access the web interface from outside your local network." toraddress=$(sudo cat /mnt/hdd/tor/RTL/hostname) 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 whiptail --title " Ride The Lightning (RTL)" --msgbox "Open the following URL in your local web browser: http://${localip}:3000 Use your Password B to login. ${torInfo} -" 12 56 +" 12 58 + /home/admin/config.scripts/blitz.lcd.sh hide exit 0 fi