mirror of
https://github.com/EvernodeXRPL/sashimono.git
synced 2026-07-28 01:20:37 +00:00
QR code info
This commit is contained in:
@@ -1356,7 +1356,7 @@ WantedBy=timers.target" >/etc/systemd/system/$EVERNODE_AUTO_UPDATE_SERVICE.timer
|
||||
[ "$error" == "ERROR" ] && echo "${reg_info/ERROR/""}" && exit 1
|
||||
|
||||
# Get raddress from first line.
|
||||
local address_line=$(echo "$reg_info" | head -1)
|
||||
local address_line=$(echo "$reg_info" | head -2 | tail -1)
|
||||
local host_address=$(echo "$address_line" | awk -F : ' { print $2 } ')
|
||||
echo -e "\n$address_line\n"
|
||||
generate_qrcode "$host_address"
|
||||
|
||||
Reference in New Issue
Block a user