add gum confirm and profile selector

This commit is contained in:
Stephan Raabe
2023-11-21 21:19:51 +01:00
parent fe9c69d24d
commit 30c453df3f
14 changed files with 114 additions and 160 deletions
+2
View File
@@ -16,6 +16,8 @@ EOF
echo -e "${NONE}"
if gum confirm "Do you want to install the custom tty login issue?" ;then
sudo cp login/issue /etc/issue
elif [ $? -eq 130 ]; then
exit 130
else
echo "Setup tty login skipped."
fi