hyprland-dotfiles/.install/issue.sh
Stephan Raabe 2511d431bc Updates
2023-11-25 17:46:54 +01:00

26 lines
785 B
Bash

# ------------------------------------------------------
# Install tty login and issue
# ------------------------------------------------------
if [ $disman == 1 ]; then
echo -e "${GREEN}"
cat <<"EOF"
_____ _______ __ _ _
|_ _|_ _\ \ / / | | ___ __ _(_)_ __
| | | | \ V / | |/ _ \ / _` | | '_ \
| | | | | | | | (_) | (_| | | | | |
|_| |_| |_| |_|\___/ \__, |_|_| |_|
|___/
EOF
echo -e "${NONE}"
if gum confirm "Do you want to install the custom tty login issue?" ;then
sudo cp login/issue /etc/issue
echo "Custom tty login issue installed successfully."
elif [ $? -eq 130 ]; then
exit 130
else
echo "Setup tty login skipped."
fi
echo ""
fi