Hyprland-dotfiles/.install/issue.sh

25 lines
723 B
Bash
Raw Normal View History

2023-11-10 16:12:15 -05:00
# ------------------------------------------------------
# Install tty login and issue
# ------------------------------------------------------
if [ $disman == 1 ]; then
2023-11-17 07:48:02 -05:00
echo -e "${GREEN}"
2023-11-10 16:12:15 -05:00
cat <<"EOF"
_____ _______ __ _ _
|_ _|_ _\ \ / / | | ___ __ _(_)_ __
| | | | \ V / | |/ _ \ / _` | | '_ \
| | | | | | | | (_) | (_| | | | | |
|_| |_| |_| |_|\___/ \__, |_|_| |_|
|___/
EOF
2023-11-17 07:48:02 -05:00
echo -e "${NONE}"
2023-11-20 16:11:39 -05:00
if gum confirm "Do you want to install the custom tty login issue?" ;then
sudo cp login/issue /etc/issue
2023-11-21 15:19:51 -05:00
elif [ $? -eq 130 ]; then
exit 130
2023-11-20 16:11:39 -05:00
else
echo "Setup tty login skipped."
fi
2023-11-10 16:12:15 -05:00
echo ""
fi