From 7cc069a535cc48c0f4f5f8d1f8ccb0c8b21dc11d Mon Sep 17 00:00:00 2001 From: glen Date: Fri, 5 Mar 2021 16:40:24 -0500 Subject: [PATCH] take out prompts --- installers/install.sh | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/installers/install.sh b/installers/install.sh index 066121a..631393c 100755 --- a/installers/install.sh +++ b/installers/install.sh @@ -11,20 +11,19 @@ function show_splash() { echo -e " | | / _ \| |/ / | '_ \ / _ \ __| " echo -e " | |___| (_) | <| | | | | __/ |_" echo -e " \_____/\___/|_|\_\_|_| |_|\___|\__| " - + echo -e " __________.____ _____ ____________________ " + echo -e " \______ \ | / _ \ / _____/\__ ___/ " + echo -e " | | _/ | / /_\ \ \_____ \ | | " + echo -e " | | \ |___/ | \/ \ | | " + echo -e " |______ /_______ \____|__ /_______ / |____| " + echo -e " \/ \/ \/ \/ " echo "This installation adds Lokinet, tun module and resolvconf to your system" } function install_main () { - install_log "Clone change_file_ownership and conduct Lokinet installation" - echo -n "Do you wish to install public key and add packages? [y/N]: " - read answer - if [[ $answer != "y" ]]; then - echo "Installation aborted." - exit 0 - fi + install_log "Clone and conduct Lokinet installation" sudo modprobe tun sudo curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg @@ -43,16 +42,11 @@ echo "Install Lokinet-GUI" function resolv_config () { install_log "Configure resolvconf installation" - echo -n "Do you wish to install and configure resolvconf (recommended)? [y/N]: " -# read answer -# if [[ $answer != "y" ]]; then -# echo "Installation aborted." - -# fi sudo apt install resolvconf -y sudo resolvconf -u sudo systemctl restart lokinet + sudo lxpanelctl restart } # Fetches latest files from github to lokinet installation directory