diff --git a/installers/install.sh b/installers/install.sh index 833a552..783729b 100755 --- a/installers/install.sh +++ b/installers/install.sh @@ -23,7 +23,7 @@ function install_main () { if [[ $answer != "y" ]]; then echo "Installation aborted." exit 0 - fi + else sudo modprobe tun sudo curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg @@ -36,6 +36,8 @@ echo "Resync package repositories." echo "Install Lokinet-GUI" sudo apt install lokinet-gui -y + + fi } function resolv_config () { @@ -45,12 +47,14 @@ function resolv_config () { if [[ $answer != "y" ]]; then echo "Installation aborted." - fi + else sudo apt install resolvconf -y sudo resolvconf -u sudo systemctl restart lokinet + fi + } # Fetches latest files from github to lokinet installation directory function download_latest_files() {