2023-11-10 21:12:15 +00:00
|
|
|
# ------------------------------------------------------
|
|
|
|
# Install tty login and issue
|
|
|
|
# ------------------------------------------------------
|
|
|
|
|
|
|
|
if [ $disman == 1 ]; then
|
2023-11-17 12:48:02 +00:00
|
|
|
echo -e "${GREEN}"
|
2023-12-21 20:57:44 +00:00
|
|
|
figlet "TTY issue"
|
2023-11-17 12:48:02 +00:00
|
|
|
echo -e "${NONE}"
|
2023-11-20 21:11:39 +00:00
|
|
|
if gum confirm "Do you want to install the custom tty login issue?" ;then
|
|
|
|
sudo cp login/issue /etc/issue
|
2023-11-25 16:46:54 +00:00
|
|
|
echo "Custom tty login issue installed successfully."
|
2023-11-21 20:19:51 +00:00
|
|
|
elif [ $? -eq 130 ]; then
|
|
|
|
exit 130
|
2023-11-20 21:11:39 +00:00
|
|
|
else
|
|
|
|
echo "Setup tty login skipped."
|
|
|
|
fi
|
2023-11-10 21:12:15 +00:00
|
|
|
echo ""
|
|
|
|
fi
|