Dev
This commit is contained in:
28
.install/issue.sh
Normal file
28
.install/issue.sh
Normal 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
|
||||
Reference in New Issue
Block a user