mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-09 20:32:52 +02:00
ip info on fail
This commit is contained in:
@@ -9,8 +9,12 @@ localip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1
|
|||||||
echo "*** Check if RTL is installed ***"
|
echo "*** Check if RTL is installed ***"
|
||||||
isInstalled=$(sudo ls /etc/systemd/system/RTL.service | grep -c 'RTL.service')
|
isInstalled=$(sudo ls /etc/systemd/system/RTL.service | grep -c 'RTL.service')
|
||||||
if [ ${isInstalled} -eq 1 ]; then
|
if [ ${isInstalled} -eq 1 ]; then
|
||||||
echo "!! FAIL - RTL Service is already installed"
|
echo "!! FAIL - RTL Service is already installed."
|
||||||
echo "if its still not running, check service with:"
|
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"
|
echo "sudo systemctl status RTL"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user