This commit is contained in:
Stephan Raabe
2023-11-10 21:12:15 +00:00
parent eca6b8659a
commit ea2a6adbf0
137 changed files with 2941 additions and 4897 deletions

28
.install/issue.sh Normal file
View File

@@ -0,0 +1,28 @@
# ------------------------------------------------------
# Install tty login and issue
# ------------------------------------------------------
if [ $disman == 1 ]; then
cat <<"EOF"
_____ _______ __ _ _
|_ _|_ _\ \ / / | | ___ __ _(_)_ __
| | | | \ V / | |/ _ \ / _` | | '_ \
| | | | | | | | (_) | (_| | | | | |
|_| |_| |_| |_|\___/ \__, |_|_| |_|
|___/
EOF
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