append lokinet.ini

pull/2/head
necro-nemesis 5 years ago
parent 16393edfcc
commit f741610931

@ -114,9 +114,20 @@ function display_lokiaddress (){
}
function install_complete() {
sudo rm -r $snapp_dir/installers || install_error "Unable to remove installers"
#append /var/lib/lokinet/lokinet.ini
sed '/[network]/a \
> keyfile=/var/lib/lokinet/snappkey.private' /var/lib/lokinet/lokinet.ini
#restart Lokinet
sudo systemctl restart lokinet
#clean out installer files
sudo rm -r $snapp_dir/installers || install_error "Unable to remove installers"
sudo rm -r /tmp/snapp || install_error "Unable to remove /tmp/snapp folder"
install_log "Installation completed!"
install_log "Installation completed!"
echo -n "Installation complete. Do you wish to launch your SNApp? [y/N]: "
read answer

Loading…
Cancel
Save