Hyprland-dotfiles/.install/issue.sh
2023-11-17 13:48:02 +01:00

30 lines
871 B
Bash

# ------------------------------------------------------
# Install tty login and issue
# ------------------------------------------------------
if [ $disman == 1 ]; then
echo -e "${GREEN}"
cat <<"EOF"
_____ _______ __ _ _
|_ _|_ _\ \ / / | | ___ __ _(_)_ __
| | | | \ V / | |/ _ \ / _` | | '_ \
| | | | | | | | (_) | (_| | | | | |
|_| |_| |_| |_|\___/ \__, |_|_| |_|
|___/
EOF
echo -e "${NONE}"
while true; do
read -p "Do you want to install the custom tty login issue (Yy/Nn): " yn
case $yn in
[Yy]* )
sudo cp login/issue /etc/issue
break;;
[Nn]* )
echo "Setup tty login skipped."
break;;
* ) echo "Please answer yes or no.";;
esac
done
echo ""
fi