diff --git a/home.admin/config.scripts/bonus.btcpaysetdomain.sh b/home.admin/config.scripts/bonus.btcpaysetdomain.sh index 313ceab01..cf55a7820 100644 --- a/home.admin/config.scripts/bonus.btcpaysetdomain.sh +++ b/home.admin/config.scripts/bonus.btcpaysetdomain.sh @@ -78,22 +78,32 @@ echo "***" echo "" if [ $ownDomain -eq 1 ]; then + localip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/') echo "" echo "***" - echo "Confirm that the ports 443 and 9735 are forwarded to the IP of your RaspiBlitz AND the port 80 on your router forwards to port 80 of your RaspiBlitz by pressing [ENTER] or use [CTRL + C] to exit" + echo "Confirm that the ports 80, 443 and 9735 are forwarded to your RaspiBlitz" + echo "" + echo "Press [ENTER] to continue or use [CTRL + C] to exit" + echo "" + echo "Example settings for your router:" + echo "forward the port 443 to port 443 on ${localip}" + echo "forward the port 9735 to port 9735 on ${localip}" + echo "forward the port 80 to port 80 on ${localip}" read key echo "" echo "***" echo "Type your domain or dynamicDNS pointing to your public IP and press [ENTER] or use [CTRL + C] to exit" - echo "example:" + echo "" + echo "Example:" echo "btcpay.example.com" read YOUR_DOMAIN echo "" echo "***" - echo "Type an email address that will be used to message about the SSL certificate and press [ENTER] or use [CTRL + C] to exit" - echo "example:" + echo "Type an email address that will be used to message about the expiration of the SSL certificate and press [ENTER] or use [CTRL + C] to exit" + echo "" + echo "Example:" echo "name@email.com" read YOUR_EMAIL