add-license-1
glen 5 years ago
parent 49c3fe6374
commit b7671a3122

@ -24,7 +24,7 @@ function install_main () {
if [[ $answer != "y" ]]; then if [[ $answer != "y" ]]; then
echo "Installation aborted." echo "Installation aborted."
exit 0 exit 0
else fi
sudo modprobe tun sudo modprobe tun
sudo curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg sudo curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg
@ -38,7 +38,6 @@ echo "Install Lokinet-GUI"
sudo apt install lokinet-gui -y sudo apt install lokinet-gui -y
fi
} }
function resolv_config () { function resolv_config () {
@ -49,14 +48,12 @@ function resolv_config () {
# if [[ $answer != "y" ]]; then # if [[ $answer != "y" ]]; then
# echo "Installation aborted." # echo "Installation aborted."
# else # fi
sudo apt install resolvconf -y sudo apt install resolvconf -y
sudo resolvconf -u sudo resolvconf -u
sudo systemctl restart lokinet sudo systemctl restart lokinet
# fi
} }
# Fetches latest files from github to lokinet installation directory # Fetches latest files from github to lokinet installation directory
function download_latest_files() { function download_latest_files() {

Loading…
Cancel
Save