From ac078fe8c924b0a7210409e24ed7f7725bcf6d2e Mon Sep 17 00:00:00 2001 From: rootzoll Date: Sun, 4 Nov 2018 00:28:42 +0100 Subject: [PATCH] ip info on fail --- home.admin/98installRTL.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/home.admin/98installRTL.sh b/home.admin/98installRTL.sh index 143f64e9d..c459cfc0a 100644 --- a/home.admin/98installRTL.sh +++ b/home.admin/98installRTL.sh @@ -9,8 +9,12 @@ localip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 echo "*** Check if RTL is installed ***" isInstalled=$(sudo ls /etc/systemd/system/RTL.service | grep -c 'RTL.service') if [ ${isInstalled} -eq 1 ]; then - echo "!! FAIL - RTL Service is already installed" - echo "if its still not running, check service with:" + echo "!! FAIL - RTL Service is already installed." + echo "Try to open the following URL in your local webrowser" + echo "and unlock your wallet from there with PASSWORD C." + echo "---> http://${localip}:3000" + echo "" + echo "If its still not running, check service with:" echo "sudo systemctl status RTL" exit 1 fi