From f16e0b61496371d2801681c4212bec0a6d533581 Mon Sep 17 00:00:00 2001 From: sose Date: Sun, 14 Jun 2020 23:41:44 +0000 Subject: [PATCH] added basic network config --- basics.sh | 6 ++++++ setup.sh | 2 ++ 2 files changed, 8 insertions(+) diff --git a/basics.sh b/basics.sh index 0c45099..2d3011d 100755 --- a/basics.sh +++ b/basics.sh @@ -37,3 +37,9 @@ configure_user() { # chsh -s "/usr/bin/sshshell $tilde_username" } + +configure_network() { + echo "Press ENTER to configure network" + read dummy_var + nmtui +} diff --git a/setup.sh b/setup.sh index 6a2dbf2..08a4dc3 100755 --- a/setup.sh +++ b/setup.sh @@ -14,7 +14,9 @@ export key_file="" key_file="$(find /tilde/key | tail -n1)" choice="" +clear echo "=== Welcome to Tildelinux! ===" +configure_network || fail echo "What tilde would you like to connect to? (use the domain name as you would for ssh)" read tilde_name echo "What is your username for $tilde_name?"