Display SNApp address after restart of lokinet.

pull/2/head
necro-nemesis 5 years ago
parent f9be93fa12
commit 55a1f668a4

@ -129,6 +129,9 @@ function install_complete() {
sudo rm -r /tmp/snapp || install_error "Unable to remove /tmp/snapp folder"
install_log "Installation completed!"
IP="10.0.0.1"
snapp_address=$(nslookup $IP | sed -n 's/.*arpa.*name = \(.*\)/\1/p')
echo -e "Your Lokinet Address is:\nhttp://${snapp_address}"
echo -n "Installation complete. Do you wish to launch your SNApp? [y/N]: "
read answer
@ -151,6 +154,6 @@ function install_pihost() {
create_webpage_directory
download_latest_files
change_file_ownership
display_lokiaddress
#display_lokiaddress
install_complete
}

Loading…
Cancel
Save