Hyprland-dotfiles/.install/issue.sh

18 lines
523 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-12-21 15:57:44 -05:00
figlet "TTY issue"
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-25 11:46:54 -05:00
echo "Custom tty login issue installed successfully."
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